// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_INTENT_H_ #define COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_INTENT_H_ #include <optional> #include <string> #include <utility> #include <vector> #include "base/containers/flat_map.h" #include "base/files/safe_base_name.h" #include "components/services/app_service/public/cpp/intent_filter.h" #include "url/gurl.h" namespace apps { // Metadata for a single file shared through an intent. struct IntentFile { … }; IntentFilePtr; // Action and resource handling request. This should be kept in sync with // ConvertIntentToValue and ConvertValueToIntent in // components/services/app_service/public/cpp/intent_util.* struct Intent { … }; IntentPtr; } // namespace apps #endif // COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_INTENT_H_