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

Side by Side Diff: chrome/browser/extensions/component_loader.h

Issue 23636002: Fixed how Apps Developer Tools is enabled/disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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 (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_COMPONENT_LOADER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_
6 #define CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 14
15 class ExtensionServiceInterface; 15 class ExtensionServiceInterface;
16 class PrefService; 16 class PrefService;
17 17
18 namespace extensions { 18 namespace extensions {
19 19
20 class Extension;
21
22 // For registering, loading, and unloading component extensions. 20 // For registering, loading, and unloading component extensions.
23 class ComponentLoader { 21 class ComponentLoader {
24 public: 22 public:
25 ComponentLoader(ExtensionServiceInterface* extension_service, 23 ComponentLoader(ExtensionServiceInterface* extension_service,
26 PrefService* prefs, 24 PrefService* prefs,
27 PrefService* local_state); 25 PrefService* local_state);
28 virtual ~ComponentLoader(); 26 virtual ~ComponentLoader();
29 27
30 size_t registered_extensions_count() const { 28 size_t registered_extensions_count() const {
31 return component_extensions_.size(); 29 return component_extensions_.size();
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // List of registered component extensions (see Manifest::Location). 132 // List of registered component extensions (see Manifest::Location).
135 typedef std::vector<ComponentExtensionInfo> RegisteredComponentExtensions; 133 typedef std::vector<ComponentExtensionInfo> RegisteredComponentExtensions;
136 RegisteredComponentExtensions component_extensions_; 134 RegisteredComponentExtensions component_extensions_;
137 135
138 DISALLOW_COPY_AND_ASSIGN(ComponentLoader); 136 DISALLOW_COPY_AND_ASSIGN(ComponentLoader);
139 }; 137 };
140 138
141 } // namespace extensions 139 } // namespace extensions
142 140
143 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ 141 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/component_loader.cc » ('j') | chrome/browser/extensions/install_tracker.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698