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

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

Issue 294483003: Add extensions_unittests to chromium_builder_tests target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compilation? Created 6 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 | Annotate | Revision Log
« no previous file with comments | « build/all.gyp ('k') | extensions/test/test_extensions_client.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 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/strings/string_piece.h" 13 #include "base/strings/string_piece.h"
14 14
15 class GURL; 15 class GURL;
16 16
17 namespace extensions { 17 namespace extensions {
18 18
19 class APIPermissionSet; 19 class APIPermissionSet;
20 class Extension; 20 class Extension;
21 class FeatureProvider; 21 class FeatureProvider;
22 class ManifestPermissionSet; 22 class ManifestPermissionSet;
23 class PermissionMessage; 23 class PermissionMessage;
24 class PermissionMessageProvider; 24 class PermissionMessageProvider;
25 class PermissionsProvider;
26 class SimpleFeature; 25 class SimpleFeature;
27 class URLPatternSet; 26 class URLPatternSet;
28 27
29 // Sets up global state for the extensions system. Should be Set() once in each 28 // Sets up global state for the extensions system. Should be Set() once in each
30 // process. This should be implemented by the client of the extensions system. 29 // process. This should be implemented by the client of the extensions system.
31 class ExtensionsClient { 30 class ExtensionsClient {
32 public: 31 public:
33 typedef std::vector<std::string> ScriptingWhitelist; 32 typedef std::vector<std::string> ScriptingWhitelist;
34 33
35 virtual ~ExtensionsClient() {} 34 virtual ~ExtensionsClient() {}
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // Return the extensions client. 84 // Return the extensions client.
86 static ExtensionsClient* Get(); 85 static ExtensionsClient* Get();
87 86
88 // Initialize the extensions system with this extensions client. 87 // Initialize the extensions system with this extensions client.
89 static void Set(ExtensionsClient* client); 88 static void Set(ExtensionsClient* client);
90 }; 89 };
91 90
92 } // namespace extensions 91 } // namespace extensions
93 92
94 #endif // EXTENSIONS_COMMON_EXTENSIONS_CLIENT_H_ 93 #endif // EXTENSIONS_COMMON_EXTENSIONS_CLIENT_H_
OLDNEW
« no previous file with comments | « build/all.gyp ('k') | extensions/test/test_extensions_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698