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

Side by Side Diff: chrome/test/base/testing_profile.h

Issue 8618001: Get rid of the EnableClose() infrastructure in Widget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 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_TEST_BASE_TESTING_PROFILE_H_ 5 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_
6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_ 6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 // Creates a TemplateURLService. If not invoked the TemplateURLService is 119 // Creates a TemplateURLService. If not invoked the TemplateURLService is
120 // NULL. Creates a TemplateURLFetcher. If not invoked, the 120 // NULL. Creates a TemplateURLFetcher. If not invoked, the
121 // TemplateURLFetcher is NULL. 121 // TemplateURLFetcher is NULL.
122 void CreateTemplateURLFetcher(); 122 void CreateTemplateURLFetcher();
123 123
124 // Creates a TemplateURLService. If not invoked, the TemplateURLService is 124 // Creates a TemplateURLService. If not invoked, the TemplateURLService is
125 // NULL. 125 // NULL.
126 void CreateTemplateURLService(); 126 void CreateTemplateURLService();
127 127
128 // Blocks until TempalteURLService finishes loading.
129 void BlockUntilTemplateURLServiceLoaded();
130
128 // Creates an ExtensionProcessManager. If not invoked, the 131 // Creates an ExtensionProcessManager. If not invoked, the
129 // ExtensionProcessManager is NULL. 132 // ExtensionProcessManager is NULL.
130 void CreateExtensionProcessManager(); 133 void CreateExtensionProcessManager();
131 134
132 // Creates an ExtensionService initialized with the testing profile and 135 // Creates an ExtensionService initialized with the testing profile and
133 // returns it. The profile keeps its own copy of a scoped_refptr to the 136 // returns it. The profile keeps its own copy of a scoped_refptr to the
134 // ExtensionService to make sure that is still alive to be notified when the 137 // ExtensionService to make sure that is still alive to be notified when the
135 // profile is destroyed. 138 // profile is destroyed.
136 ExtensionService* CreateExtensionService(const CommandLine* command_line, 139 ExtensionService* CreateExtensionService(const CommandLine* command_line,
137 const FilePath& install_directory, 140 const FilePath& install_directory,
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 // testing. 409 // testing.
407 ProfileDependencyManager* profile_dependency_manager_; 410 ProfileDependencyManager* profile_dependency_manager_;
408 411
409 scoped_refptr<ChromeAppCacheService> appcache_service_; 412 scoped_refptr<ChromeAppCacheService> appcache_service_;
410 413
411 // The QuotaManager, only available if set explicitly via SetQuotaManager. 414 // The QuotaManager, only available if set explicitly via SetQuotaManager.
412 scoped_refptr<quota::QuotaManager> quota_manager_; 415 scoped_refptr<quota::QuotaManager> quota_manager_;
413 }; 416 };
414 417
415 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 418 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698