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

Side by Side Diff: chrome/browser/ui/webui/policy_ui_handler.h

Issue 2839373003: struct UnloadedExtensionInfo -> enum UnloadedExtensionInfoReason (Closed)
Patch Set: Rebase Created 3 years, 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UI_WEBUI_POLICY_UI_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_POLICY_UI_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_POLICY_UI_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_POLICY_UI_HANDLER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <string.h> 9 #include <string.h>
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 static void AddCommonLocalizedStringsToSource( 52 static void AddCommonLocalizedStringsToSource(
53 content::WebUIDataSource* source); 53 content::WebUIDataSource* source);
54 54
55 // content::WebUIMessageHandler implementation. 55 // content::WebUIMessageHandler implementation.
56 void RegisterMessages() override; 56 void RegisterMessages() override;
57 57
58 #if BUILDFLAG(ENABLE_EXTENSIONS) 58 #if BUILDFLAG(ENABLE_EXTENSIONS)
59 // extensions::ExtensionRegistryObserver implementation. 59 // extensions::ExtensionRegistryObserver implementation.
60 void OnExtensionLoaded(content::BrowserContext* browser_context, 60 void OnExtensionLoaded(content::BrowserContext* browser_context,
61 const extensions::Extension* extension) override; 61 const extensions::Extension* extension) override;
62 void OnExtensionUnloaded( 62 void OnExtensionUnloaded(content::BrowserContext* browser_context,
63 content::BrowserContext* browser_context, 63 const extensions::Extension* extension,
64 const extensions::Extension* extension, 64 extensions::UnloadedExtensionReason reason) override;
65 extensions::UnloadedExtensionInfo::Reason reason) override;
66 #endif 65 #endif
67 66
68 // policy::PolicyService::Observer implementation. 67 // policy::PolicyService::Observer implementation.
69 void OnPolicyUpdated(const policy::PolicyNamespace& ns, 68 void OnPolicyUpdated(const policy::PolicyNamespace& ns,
70 const policy::PolicyMap& previous, 69 const policy::PolicyMap& previous,
71 const policy::PolicyMap& current) override; 70 const policy::PolicyMap& current) override;
72 71
73 // policy::SchemaRegistry::Observer implementation. 72 // policy::SchemaRegistry::Observer implementation.
74 void OnSchemaRegistryUpdated(bool has_new_schemas) override; 73 void OnSchemaRegistryUpdated(bool has_new_schemas) override;
75 74
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // the platform (Chrome OS / desktop) and type of policy that is in effect. 112 // the platform (Chrome OS / desktop) and type of policy that is in effect.
114 std::unique_ptr<PolicyStatusProvider> user_status_provider_; 113 std::unique_ptr<PolicyStatusProvider> user_status_provider_;
115 std::unique_ptr<PolicyStatusProvider> device_status_provider_; 114 std::unique_ptr<PolicyStatusProvider> device_status_provider_;
116 115
117 base::WeakPtrFactory<PolicyUIHandler> weak_factory_; 116 base::WeakPtrFactory<PolicyUIHandler> weak_factory_;
118 117
119 DISALLOW_COPY_AND_ASSIGN(PolicyUIHandler); 118 DISALLOW_COPY_AND_ASSIGN(PolicyUIHandler);
120 }; 119 };
121 120
122 #endif // CHROME_BROWSER_UI_WEBUI_POLICY_UI_HANDLER_H_ 121 #endif // CHROME_BROWSER_UI_WEBUI_POLICY_UI_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/font_settings_handler.cc ('k') | chrome/browser/ui/webui/policy_ui_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698