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

Side by Side Diff: chrome/browser/profiles/incognito_mode_policy_handler.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 | « chrome/browser/profiles/avatar_menu.h ('k') | chrome/browser/profiles/profile.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_PROFILES_INCOGNITO_MODE_POLICY_HANDLER_H_ 5 #ifndef CHROME_BROWSER_PROFILES_INCOGNITO_MODE_POLICY_HANDLER_H_
6 #define CHROME_BROWSER_PROFILES_INCOGNITO_MODE_POLICY_HANDLER_H_ 6 #define CHROME_BROWSER_PROFILES_INCOGNITO_MODE_POLICY_HANDLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/policy/core/browser/configuration_policy_handler.h" 9 #include "components/policy/core/browser/configuration_policy_handler.h"
10 10
11 class PrefValueMap; 11 class PrefValueMap;
12 12
13 namespace base {
14 class Value;
15 }
16
17 namespace policy { 13 namespace policy {
18 14
19 class PolicyErrorMap; 15 class PolicyErrorMap;
20 class PolicyMap; 16 class PolicyMap;
21 17
22 // ConfigurationPolicyHandler for the incognito mode policies. 18 // ConfigurationPolicyHandler for the incognito mode policies.
23 class IncognitoModePolicyHandler : public ConfigurationPolicyHandler { 19 class IncognitoModePolicyHandler : public ConfigurationPolicyHandler {
24 public: 20 public:
25 IncognitoModePolicyHandler(); 21 IncognitoModePolicyHandler();
26 ~IncognitoModePolicyHandler() override; 22 ~IncognitoModePolicyHandler() override;
27 23
28 // ConfigurationPolicyHandler methods: 24 // ConfigurationPolicyHandler methods:
29 bool CheckPolicySettings(const PolicyMap& policies, 25 bool CheckPolicySettings(const PolicyMap& policies,
30 PolicyErrorMap* errors) override; 26 PolicyErrorMap* errors) override;
31 void ApplyPolicySettings(const PolicyMap& policies, 27 void ApplyPolicySettings(const PolicyMap& policies,
32 PrefValueMap* prefs) override; 28 PrefValueMap* prefs) override;
33 29
34 private: 30 private:
35 DISALLOW_COPY_AND_ASSIGN(IncognitoModePolicyHandler); 31 DISALLOW_COPY_AND_ASSIGN(IncognitoModePolicyHandler);
36 }; 32 };
37 33
38 } // namespace policy 34 } // namespace policy
39 35
40 #endif // CHROME_BROWSER_PROFILES_INCOGNITO_MODE_POLICY_HANDLER_H_ 36 #endif // CHROME_BROWSER_PROFILES_INCOGNITO_MODE_POLICY_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/avatar_menu.h ('k') | chrome/browser/profiles/profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698