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

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

Issue 2535713004: extensions: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years 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 #include "extensions/features/features.h" 15 #include "extensions/features/features.h"
16 16
17 #if !BUILDFLAG(ENABLE_EXTENSIONS) 17 #if !BUILDFLAG(ENABLE_EXTENSIONS)
18 #error "Extensions must be enabled" 18 #error "Extensions must be enabled"
19 #endif 19 #endif
20 20
21 class ExtensionService; 21 class ExtensionService;
22 22
23 #if defined(OS_CHROMEOS)
24 namespace chromeos {
25 class DeviceLocalAccountManagementPolicyProvider;
26 }
27 #endif // defined(OS_CHROMEOS)
28
29 namespace content { 23 namespace content {
30 class BrowserContext; 24 class BrowserContext;
31 } 25 }
32 26
33 namespace extensions { 27 namespace extensions {
34 28
35 class AppSorting; 29 class AppSorting;
36 class ContentVerifier; 30 class ContentVerifier;
37 class Extension; 31 class Extension;
38 class ExtensionSet; 32 class ExtensionSet;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // temp_dir. Ownership of |temp_dir| in the filesystem is transferred and 127 // temp_dir. Ownership of |temp_dir| in the filesystem is transferred and
134 // implementors of this function are responsible for cleaning it up on 128 // implementors of this function are responsible for cleaning it up on
135 // errors, etc. 129 // errors, etc.
136 virtual void InstallUpdate(const std::string& extension_id, 130 virtual void InstallUpdate(const std::string& extension_id,
137 const base::FilePath& temp_dir) = 0; 131 const base::FilePath& temp_dir) = 0;
138 }; 132 };
139 133
140 } // namespace extensions 134 } // namespace extensions
141 135
142 #endif // EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_ 136 #endif // EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_
OLDNEW
« no previous file with comments | « extensions/browser/extension_navigation_throttle.h ('k') | extensions/browser/extensions_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698