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

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

Issue 10626007: Move ExtensionSystem into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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 (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_TEST_EXTENSION_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_
6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ 6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/extensions/extension_system.h" 9 #include "chrome/browser/extensions/extension_system.h"
10 10
11 class CommandLine; 11 class CommandLine;
12 class FilePath; 12 class FilePath;
13 namespace base { 13 namespace base {
14 class Time; 14 class Time;
15 } 15 }
16 16
17 // Test ExtensionSystem, for use with TestingProfile. 17 // Test ExtensionSystem, for use with TestingProfile.
18 class TestExtensionSystem : public ExtensionSystem { 18 class TestExtensionSystem : public extensions::ExtensionSystem {
19 public: 19 public:
20 explicit TestExtensionSystem(Profile* profile); 20 explicit TestExtensionSystem(Profile* profile);
21 virtual ~TestExtensionSystem(); 21 virtual ~TestExtensionSystem();
22 22
23 // ProfileKeyedService implementation. 23 // ProfileKeyedService implementation.
24 virtual void Shutdown() OVERRIDE; 24 virtual void Shutdown() OVERRIDE;
25 25
26 // Creates an ExtensionService initialized with the testing profile and 26 // Creates an ExtensionService initialized with the testing profile and
27 // returns it. 27 // returns it.
28 ExtensionService* CreateExtensionService(const CommandLine* command_line, 28 ExtensionService* CreateExtensionService(const CommandLine* command_line,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 scoped_ptr<ExtensionPrefs> extension_prefs_; 68 scoped_ptr<ExtensionPrefs> extension_prefs_;
69 scoped_ptr<extensions::StateStore> state_store_; 69 scoped_ptr<extensions::StateStore> state_store_;
70 scoped_ptr<ExtensionService> extension_service_; 70 scoped_ptr<ExtensionService> extension_service_;
71 scoped_ptr<extensions::ManagementPolicy> management_policy_; 71 scoped_ptr<extensions::ManagementPolicy> management_policy_;
72 scoped_ptr<ExtensionProcessManager> extension_process_manager_; 72 scoped_ptr<ExtensionProcessManager> extension_process_manager_;
73 scoped_ptr<extensions::AlarmManager> alarm_manager_; 73 scoped_ptr<extensions::AlarmManager> alarm_manager_;
74 scoped_refptr<ExtensionInfoMap> info_map_; 74 scoped_refptr<ExtensionInfoMap> info_map_;
75 }; 75 };
76 76
77 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ 77 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698