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

Unified Diff: chrome/browser/extensions/api/managed_mode/managed_mode_api.h

Issue 10704201: Moving managed_mode to api/ . (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/api/managed_mode/managed_mode_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/managed_mode/managed_mode_api.h
diff --git a/chrome/browser/extensions/extension_managed_mode_api.h b/chrome/browser/extensions/api/managed_mode/managed_mode_api.h
similarity index 88%
rename from chrome/browser/extensions/extension_managed_mode_api.h
rename to chrome/browser/extensions/api/managed_mode/managed_mode_api.h
index f0cb16a046c8b64a6b09f2394ac29d6419fd22a2..f61a29557c8d2c94a70c644eb04e155ef138d218 100644
--- a/chrome/browser/extensions/extension_managed_mode_api.h
+++ b/chrome/browser/extensions/api/managed_mode/managed_mode_api.h
@@ -5,8 +5,8 @@
// Defines the Chrome Extensions Managed Mode API relevant classes to realize
// the API as specified in the extension API JSON.
-#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGED_MODE_API_H_
-#define CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGED_MODE_API_H_
+#ifndef CHROME_BROWSER_EXTENSIONS_API_MANAGED_MODE_MANAGED_MODE_API_H_
+#define CHROME_BROWSER_EXTENSIONS_API_MANAGED_MODE_MANAGED_MODE_API_H_
#include "chrome/browser/extensions/extension_function.h"
#include "chrome/browser/prefs/pref_change_registrar.h"
@@ -14,6 +14,8 @@
class Profile;
+namespace extensions {
+
class ExtensionManagedModeEventRouter : public content::NotificationObserver {
public:
explicit ExtensionManagedModeEventRouter(Profile* profile);
@@ -82,4 +84,6 @@ class SetPolicyFunction : public SyncExtensionFunction {
virtual bool RunImpl() OVERRIDE;
};
-#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGED_MODE_API_H_
+} // namespace extensions
+
+#endif // CHROME_BROWSER_EXTENSIONS_API_MANAGED_MODE_MANAGED_MODE_API_H_
« no previous file with comments | « no previous file | chrome/browser/extensions/api/managed_mode/managed_mode_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698