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

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

Issue 267019: Add the ability to unload the HistoryBackend.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
« no previous file with comments | « chrome/browser/profile.cc ('k') | no next file » | 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_TESTING_PROFILE_H_ 5 #ifndef CHROME_TEST_TESTING_PROFILE_H_
6 #define CHROME_TEST_TESTING_PROFILE_H_ 6 #define CHROME_TEST_TESTING_PROFILE_H_
7 7
8 #include "base/base_paths.h" 8 #include "base/base_paths.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 virtual SSLHostState* GetSSLHostState() { return NULL; } 82 virtual SSLHostState* GetSSLHostState() { return NULL; }
83 virtual net::StrictTransportSecurityState* GetStrictTransportSecurityState() { 83 virtual net::StrictTransportSecurityState* GetStrictTransportSecurityState() {
84 return NULL; 84 return NULL;
85 } 85 }
86 virtual FaviconService* GetFaviconService(ServiceAccessType access) { 86 virtual FaviconService* GetFaviconService(ServiceAccessType access) {
87 return NULL; 87 return NULL;
88 } 88 }
89 virtual HistoryService* GetHistoryService(ServiceAccessType access) { 89 virtual HistoryService* GetHistoryService(ServiceAccessType access) {
90 return history_service_.get(); 90 return history_service_.get();
91 } 91 }
92 virtual HistoryService* GetHistoryServiceWithoutCreating() {
93 return history_service_.get();
94 }
92 void set_has_history_service(bool has_history_service) { 95 void set_has_history_service(bool has_history_service) {
93 has_history_service_ = has_history_service; 96 has_history_service_ = has_history_service;
94 } 97 }
95 virtual WebDataService* GetWebDataService(ServiceAccessType access) { 98 virtual WebDataService* GetWebDataService(ServiceAccessType access) {
96 return NULL; 99 return NULL;
97 } 100 }
98 virtual PasswordStore* GetPasswordStore(ServiceAccessType access) { 101 virtual PasswordStore* GetPasswordStore(ServiceAccessType access) {
99 return NULL; 102 return NULL;
100 } 103 }
101 virtual PrefService* GetPrefs() { 104 virtual PrefService* GetPrefs() {
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 218
216 std::wstring id_; 219 std::wstring id_;
217 220
218 bool off_the_record_; 221 bool off_the_record_;
219 222
220 // Did the last session exit cleanly? Default is true. 223 // Did the last session exit cleanly? Default is true.
221 bool last_session_exited_cleanly_; 224 bool last_session_exited_cleanly_;
222 }; 225 };
223 226
224 #endif // CHROME_TEST_TESTING_PROFILE_H_ 227 #endif // CHROME_TEST_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/profile.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698