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

Side by Side Diff: chrome/browser/policy/profile_policy_connector.h

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_POLICY_PROFILE_POLICY_CONNECTOR_H_ 5 #ifndef CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_H_
6 #define CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_H_ 6 #define CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 22 matching lines...) Expand all
33 void Init(bool force_immediate_load, 33 void Init(bool force_immediate_load,
34 #if defined(OS_CHROMEOS) 34 #if defined(OS_CHROMEOS)
35 const user_manager::User* user, 35 const user_manager::User* user,
36 #endif 36 #endif
37 SchemaRegistry* schema_registry, 37 SchemaRegistry* schema_registry,
38 CloudPolicyManager* user_cloud_policy_manager); 38 CloudPolicyManager* user_cloud_policy_manager);
39 39
40 void InitForTesting(scoped_ptr<PolicyService> service); 40 void InitForTesting(scoped_ptr<PolicyService> service);
41 41
42 // KeyedService: 42 // KeyedService:
43 virtual void Shutdown() OVERRIDE; 43 virtual void Shutdown() override;
44 44
45 // This is never NULL. 45 // This is never NULL.
46 PolicyService* policy_service() const { return policy_service_.get(); } 46 PolicyService* policy_service() const { return policy_service_.get(); }
47 47
48 // Returns true if this Profile is under cloud policy management. 48 // Returns true if this Profile is under cloud policy management.
49 bool IsManaged() const; 49 bool IsManaged() const;
50 50
51 // Returns the cloud policy management domain, if this Profile is under 51 // Returns the cloud policy management domain, if this Profile is under
52 // cloud policy management. Otherwise returns an empty string. 52 // cloud policy management. Otherwise returns an empty string.
53 std::string GetManagementDomain() const; 53 std::string GetManagementDomain() const;
(...skipping 20 matching lines...) Expand all
74 #endif // defined(ENABLE_CONFIGURATION_POLICY) 74 #endif // defined(ENABLE_CONFIGURATION_POLICY)
75 75
76 scoped_ptr<PolicyService> policy_service_; 76 scoped_ptr<PolicyService> policy_service_;
77 77
78 DISALLOW_COPY_AND_ASSIGN(ProfilePolicyConnector); 78 DISALLOW_COPY_AND_ASSIGN(ProfilePolicyConnector);
79 }; 79 };
80 80
81 } // namespace policy 81 } // namespace policy
82 82
83 #endif // CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_H_ 83 #endif // CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/policy_prefs_browsertest.cc ('k') | chrome/browser/policy/profile_policy_connector_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698