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

Side by Side Diff: chrome/browser/extensions/admin_policy.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 #ifndef CHROME_BROWSER_EXTENSIONS_ADMIN_POLICY_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_ADMIN_POLICY_H_
6 #define CHROME_BROWSER_EXTENSIONS_ADMIN_POLICY_H_ 6 #define CHROME_BROWSER_EXTENSIONS_ADMIN_POLICY_H_
7 #pragma once
8 7
9 #include "base/values.h" 8 #include "base/values.h"
10 #include "chrome/common/extensions/extension.h" 9 #include "chrome/common/extensions/extension.h"
11 10
12 namespace extensions { 11 namespace extensions {
13 class Extension; 12 class Extension;
14 } 13 }
15 14
16 // Functions for providing information about the extension whitelist, 15 // Functions for providing information about the extension whitelist,
17 // blacklist, and forcelist imposed by admin policy. 16 // blacklist, and forcelist imposed by admin policy.
(...skipping 17 matching lines...) Expand all
35 bool UserMayModifySettings(const Extension* extension, string16* error); 34 bool UserMayModifySettings(const Extension* extension, string16* error);
36 35
37 // Returns false if the extension is required to remain running. In practice 36 // Returns false if the extension is required to remain running. In practice
38 // this enforces the admin policy forcelist. 37 // this enforces the admin policy forcelist.
39 bool MustRemainEnabled(const Extension* extension, string16* error); 38 bool MustRemainEnabled(const Extension* extension, string16* error);
40 39
41 } // namespace 40 } // namespace
42 } // namespace 41 } // namespace
43 42
44 #endif // CHROME_BROWSER_EXTENSIONS_ADMIN_POLICY_H_ 43 #endif // CHROME_BROWSER_EXTENSIONS_ADMIN_POLICY_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/active_tab_permission_manager.h ('k') | chrome/browser/extensions/api/alarms/alarm_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698