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

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

Issue 9583036: Revert 124817 - Take extensions out of Profile into a profile-keyed service, ExtensionSystem. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_EXTENSION_SERVICE_UNITTEST_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_UNITTEST_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_UNITTEST_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_UNITTEST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/at_exit.h" 9 #include "base/at_exit.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 protected: 49 protected:
50 void InitializeExtensionServiceHelper(bool autoupdate_enabled); 50 void InitializeExtensionServiceHelper(bool autoupdate_enabled);
51 51
52 MessageLoop loop_; 52 MessageLoop loop_;
53 base::ShadowingAtExitManager at_exit_manager_; 53 base::ShadowingAtExitManager at_exit_manager_;
54 ScopedTempDir temp_dir_; 54 ScopedTempDir temp_dir_;
55 scoped_ptr<TestingProfile> profile_; 55 scoped_ptr<TestingProfile> profile_;
56 FilePath extensions_install_dir_; 56 FilePath extensions_install_dir_;
57 FilePath data_dir_; 57 FilePath data_dir_;
58 // Managed by ExtensionSystemFactory. 58 // Owned by |profile_|.
59 ExtensionService* service_; 59 ExtensionService* service_;
60 size_t expected_extensions_count_; 60 size_t expected_extensions_count_;
61 content::TestBrowserThread ui_thread_; 61 content::TestBrowserThread ui_thread_;
62 content::TestBrowserThread db_thread_; 62 content::TestBrowserThread db_thread_;
63 content::TestBrowserThread webkit_thread_; 63 content::TestBrowserThread webkit_thread_;
64 content::TestBrowserThread file_thread_; 64 content::TestBrowserThread file_thread_;
65 content::TestBrowserThread file_user_blocking_thread_; 65 content::TestBrowserThread file_user_blocking_thread_;
66 content::TestBrowserThread io_thread_; 66 content::TestBrowserThread io_thread_;
67 }; 67 };
68 68
69 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_UNITTEST_H_ 69 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_UNITTEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | chrome/browser/extensions/extension_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698