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

Side by Side Diff: chrome/browser/extensions/extension_managed_mode_api.h

Issue 10698144: Remove #pragma once from chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 unified diff | Download patch | Annotate | Revision Log
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 // Defines the Chrome Extensions Managed Mode API relevant classes to realize 5 // Defines the Chrome Extensions Managed Mode API relevant classes to realize
6 // the API as specified in the extension API JSON. 6 // the API as specified in the extension API JSON.
7 7
8 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGED_MODE_API_H_ 8 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGED_MODE_API_H_
9 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGED_MODE_API_H_ 9 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGED_MODE_API_H_
10 #pragma once
11 10
12 #include "chrome/browser/extensions/extension_function.h" 11 #include "chrome/browser/extensions/extension_function.h"
13 #include "chrome/browser/prefs/pref_change_registrar.h" 12 #include "chrome/browser/prefs/pref_change_registrar.h"
14 #include "content/public/browser/notification_observer.h" 13 #include "content/public/browser/notification_observer.h"
15 14
16 class Profile; 15 class Profile;
17 16
18 class ExtensionManagedModeEventRouter : public content::NotificationObserver { 17 class ExtensionManagedModeEventRouter : public content::NotificationObserver {
19 public: 18 public:
20 explicit ExtensionManagedModeEventRouter(Profile* profile); 19 explicit ExtensionManagedModeEventRouter(Profile* profile);
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 DECLARE_EXTENSION_FUNCTION_NAME("managedModePrivate.setPolicy") 76 DECLARE_EXTENSION_FUNCTION_NAME("managedModePrivate.setPolicy")
78 77
79 protected: 78 protected:
80 virtual ~SetPolicyFunction(); 79 virtual ~SetPolicyFunction();
81 80
82 // ExtensionFunction: 81 // ExtensionFunction:
83 virtual bool RunImpl() OVERRIDE; 82 virtual bool RunImpl() OVERRIDE;
84 }; 83 };
85 84
86 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGED_MODE_API_H_ 85 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGED_MODE_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_keybinding_registry.h ('k') | chrome/browser/extensions/extension_management_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698