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

Side by Side Diff: chrome/browser/chromeos/arc/arc_policy_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
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 CHROME_BROWSER_CHROMEOS_ARC_ARC_POLICY_BRIDGE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_POLICY_BRIDGE_H_
6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_POLICY_BRIDGE_H_ 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_POLICY_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/policy/core/common/policy_service.h" 11 #include "components/policy/core/common/policy_service.h"
12 #include "mojo/public/cpp/bindings/binding.h" 12 #include "mojo/public/cpp/bindings/binding.h"
13 13
14 namespace policy { 14 namespace policy {
15 class PolicyMap; 15 class PolicyMap;
16 } // namespace policy 16 } // namespace policy
17 17
18 namespace arc { 18 namespace arc {
19 19
20 class ArcPolicyBridge : public ArcService, 20 class ArcPolicyBridge : public ArcService,
21 public ArcBridgeService::Observer, 21 public ArcBridgeService::Observer,
22 public PolicyHost, 22 public mojom::PolicyHost,
23 public policy::PolicyService::Observer { 23 public policy::PolicyService::Observer {
24 public: 24 public:
25 explicit ArcPolicyBridge(ArcBridgeService* bridge_service); 25 explicit ArcPolicyBridge(ArcBridgeService* bridge_service);
26 ArcPolicyBridge(ArcBridgeService* bridge_service, 26 ArcPolicyBridge(ArcBridgeService* bridge_service,
27 policy::PolicyService* policy_service); 27 policy::PolicyService* policy_service);
28 ~ArcPolicyBridge() override; 28 ~ArcPolicyBridge() override;
29 29
30 // ArcBridgeService::Observer overrides. 30 // ArcBridgeService::Observer overrides.
31 void OnPolicyInstanceReady() override; 31 void OnPolicyInstanceReady() override;
32 void OnPolicyInstanceClosed() override; 32 void OnPolicyInstanceClosed() override;
(...skipping 11 matching lines...) Expand all
44 44
45 mojo::Binding<PolicyHost> binding_; 45 mojo::Binding<PolicyHost> binding_;
46 policy::PolicyService* policy_service_ = nullptr; 46 policy::PolicyService* policy_service_ = nullptr;
47 47
48 DISALLOW_COPY_AND_ASSIGN(ArcPolicyBridge); 48 DISALLOW_COPY_AND_ASSIGN(ArcPolicyBridge);
49 }; 49 };
50 50
51 } // namespace arc 51 } // namespace arc
52 52
53 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_POLICY_BRIDGE_H_ 53 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_POLICY_BRIDGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/arc/arc_auth_service_unittest.cc ('k') | chrome/browser/chromeos/arc/arc_policy_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698