Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: components/arc/intent_helper/arc_intent_helper_bridge.h

Issue 1843563003: Move arc_intent_helper_bridge.h from c/b/chromeos/ to components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address a comment Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/arc/intent_helper/DEPS ('k') | components/arc/intent_helper/arc_intent_helper_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/intent_helper/arc_intent_helper_bridge.h
diff --git a/chrome/browser/chromeos/arc/arc_intent_helper_bridge.h b/components/arc/intent_helper/arc_intent_helper_bridge.h
similarity index 56%
rename from chrome/browser/chromeos/arc/arc_intent_helper_bridge.h
rename to components/arc/intent_helper/arc_intent_helper_bridge.h
index bc89532cd54e23289f2c7987dda5deb8210975b3..0754bf0a82103e0e89b2c8661ff4cad552021e38 100644
--- a/chrome/browser/chromeos/arc/arc_intent_helper_bridge.h
+++ b/components/arc/intent_helper/arc_intent_helper_bridge.h
@@ -1,12 +1,11 @@
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_INTENT_HELPER_BRIDGE_H_
-#define CHROME_BROWSER_CHROMEOS_ARC_ARC_INTENT_HELPER_BRIDGE_H_
+
+#ifndef COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_BRIDGE_H_
+#define COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_BRIDGE_H_
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/chromeos/arc/settings_bridge.h"
#include "components/arc/arc_bridge_service.h"
#include "components/arc/arc_service.h"
#include "components/arc/common/intent_helper.mojom.h"
@@ -17,31 +16,23 @@ namespace arc {
// Receives intents from ARC.
class ArcIntentHelperBridge : public ArcService,
public ArcBridgeService::Observer,
- public IntentHelperHost,
- public SettingsBridge::Delegate {
+ public IntentHelperHost {
public:
explicit ArcIntentHelperBridge(ArcBridgeService* bridge_service);
~ArcIntentHelperBridge() override;
// ArcBridgeService::Observer
void OnIntentHelperInstanceReady() override;
- void OnIntentHelperInstanceClosed() override;
-
- // SettingsBridge::Delegate. Sends a broadcast to the ArcIntentHelper app
- // in Android.
- void OnBroadcastNeeded(const std::string& action,
- const base::DictionaryValue& extras) override;
// arc::IntentHelperHost
void OnOpenUrl(const mojo::String& url) override;
private:
mojo::Binding<IntentHelperHost> binding_;
- scoped_ptr<SettingsBridge> settings_bridge_;
DISALLOW_COPY_AND_ASSIGN(ArcIntentHelperBridge);
};
} // namespace arc
-#endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_INTENT_HELPER_BRIDGE_H_
+#endif // COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_BRIDGE_H_
« no previous file with comments | « components/arc/intent_helper/DEPS ('k') | components/arc/intent_helper/arc_intent_helper_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698