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

Side by Side Diff: extensions/browser/extension_system.h

Issue 2159103006: Add policy provider that would filter extensions/apps allowed on the (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BROWSER_EXTENSION_SYSTEM_H_ 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_
6 #define EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_ 6 #define EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "components/keyed_service/core/keyed_service.h" 13 #include "components/keyed_service/core/keyed_service.h"
14 #include "extensions/common/extension.h" 14 #include "extensions/common/extension.h"
15 15
16 #if !defined(ENABLE_EXTENSIONS) 16 #if !defined(ENABLE_EXTENSIONS)
17 #error "Extensions must be enabled" 17 #error "Extensions must be enabled"
18 #endif 18 #endif
19 19
20 class ExtensionService; 20 class ExtensionService;
21 21
22 #if defined(OS_CHROMEOS)
23 namespace chromeos {
24 class DeviceLocalAccountManagementPolicyProvider;
25 }
26 #endif // defined(OS_CHROMEOS)
27
28 namespace content { 22 namespace content {
29 class BrowserContext; 23 class BrowserContext;
30 } 24 }
31 25
32 namespace extensions { 26 namespace extensions {
33 27
34 class AppSorting; 28 class AppSorting;
35 class ContentVerifier; 29 class ContentVerifier;
36 class Extension; 30 class Extension;
37 class ExtensionSet; 31 class ExtensionSet;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // temp_dir. Ownership of |temp_dir| in the filesystem is transferred and 126 // temp_dir. Ownership of |temp_dir| in the filesystem is transferred and
133 // implementors of this function are responsible for cleaning it up on 127 // implementors of this function are responsible for cleaning it up on
134 // errors, etc. 128 // errors, etc.
135 virtual void InstallUpdate(const std::string& extension_id, 129 virtual void InstallUpdate(const std::string& extension_id,
136 const base::FilePath& temp_dir) = 0; 130 const base::FilePath& temp_dir) = 0;
137 }; 131 };
138 132
139 } // namespace extensions 133 } // namespace extensions
140 134
141 #endif // EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_ 135 #endif // EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_
OLDNEW
« chrome/browser/extensions/extension_system_impl.h ('K') | « chrome/chrome_tests_unit.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698