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

Side by Side Diff: extensions/common/extensions_client.h

Issue 51433002: Enable permission warnings from ManifestHandlers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit test and clang presubmit errors. Created 7 years, 1 month 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 | « extensions/DEPS ('k') | extensions/common/manifest_handler.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 EXTENSIONS_COMMON_EXTENSIONS_CLIENT_H_ 5 #ifndef EXTENSIONS_COMMON_EXTENSIONS_CLIENT_H_
6 #define EXTENSIONS_COMMON_EXTENSIONS_CLIENT_H_ 6 #define EXTENSIONS_COMMON_EXTENSIONS_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 class GURL; 12 class GURL;
13 13
14 namespace extensions { 14 namespace extensions {
15 15
16 class APIPermissionSet; 16 class APIPermissionSet;
17 class Extension; 17 class Extension;
18 class FeatureProvider; 18 class FeatureProvider;
19 class ManifestPermissionSet;
19 class PermissionMessage; 20 class PermissionMessage;
20 class PermissionMessageProvider; 21 class PermissionMessageProvider;
21 class PermissionsProvider; 22 class PermissionsProvider;
22 class URLPatternSet; 23 class URLPatternSet;
23 24
24 // Sets up global state for the extensions system. Should be Set() once in each 25 // Sets up global state for the extensions system. Should be Set() once in each
25 // process. This should be implemented by the client of the extensions system. 26 // process. This should be implemented by the client of the extensions system.
26 class ExtensionsClient { 27 class ExtensionsClient {
27 public: 28 public:
28 typedef std::vector<std::string> ScriptingWhitelist; 29 typedef std::vector<std::string> ScriptingWhitelist;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // Return the extensions client. 72 // Return the extensions client.
72 static ExtensionsClient* Get(); 73 static ExtensionsClient* Get();
73 74
74 // Initialize the extensions system with this extensions client. 75 // Initialize the extensions system with this extensions client.
75 static void Set(ExtensionsClient* client); 76 static void Set(ExtensionsClient* client);
76 }; 77 };
77 78
78 } // namespace extensions 79 } // namespace extensions
79 80
80 #endif // EXTENSIONS_COMMON_EXTENSIONS_CLIENT_H_ 81 #endif // EXTENSIONS_COMMON_EXTENSIONS_CLIENT_H_
OLDNEW
« no previous file with comments | « extensions/DEPS ('k') | extensions/common/manifest_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698