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

Side by Side Diff: components/arc/intent_helper/arc_intent_helper_bridge.h

Issue 1885683005: Add module suffix in .mojom files for components/arc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase only Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « components/arc/input/arc_input_bridge.cc ('k') | components/arc/metrics/arc_metrics_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_BRIDGE_H_ 5 #ifndef COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_BRIDGE_H_
6 #define COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_BRIDGE_H_ 6 #define COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_BRIDGE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/arc/arc_bridge_service.h" 9 #include "components/arc/arc_bridge_service.h"
10 #include "components/arc/arc_service.h" 10 #include "components/arc/arc_service.h"
11 #include "components/arc/common/intent_helper.mojom.h" 11 #include "components/arc/common/intent_helper.mojom.h"
12 #include "mojo/public/cpp/bindings/binding.h" 12 #include "mojo/public/cpp/bindings/binding.h"
13 13
14 namespace arc { 14 namespace arc {
15 15
16 // Receives intents from ARC. 16 // Receives intents from ARC.
17 class ArcIntentHelperBridge : public ArcService, 17 class ArcIntentHelperBridge : public ArcService,
18 public ArcBridgeService::Observer, 18 public ArcBridgeService::Observer,
19 public IntentHelperHost { 19 public mojom::IntentHelperHost {
20 public: 20 public:
21 explicit ArcIntentHelperBridge(ArcBridgeService* bridge_service); 21 explicit ArcIntentHelperBridge(ArcBridgeService* bridge_service);
22 ~ArcIntentHelperBridge() override; 22 ~ArcIntentHelperBridge() override;
23 23
24 // ArcBridgeService::Observer 24 // ArcBridgeService::Observer
25 void OnIntentHelperInstanceReady() override; 25 void OnIntentHelperInstanceReady() override;
26 26
27 // arc::IntentHelperHost 27 // arc::mojom::IntentHelperHost
28 void OnOpenUrl(const mojo::String& url) override; 28 void OnOpenUrl(const mojo::String& url) override;
29 29
30 private: 30 private:
31 mojo::Binding<IntentHelperHost> binding_; 31 mojo::Binding<mojom::IntentHelperHost> binding_;
32 32
33 DISALLOW_COPY_AND_ASSIGN(ArcIntentHelperBridge); 33 DISALLOW_COPY_AND_ASSIGN(ArcIntentHelperBridge);
34 }; 34 };
35 35
36 } // namespace arc 36 } // namespace arc
37 37
38 #endif // COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_BRIDGE_H_ 38 #endif // COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_BRIDGE_H_
OLDNEW
« no previous file with comments | « components/arc/input/arc_input_bridge.cc ('k') | components/arc/metrics/arc_metrics_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698