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

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

Issue 502005: Preload the visited link db on the file thread. (Closed)
Patch Set: comments Created 11 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
« no previous file with comments | « chrome/browser/visitedlink_master.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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 off_the_record_ = off_the_record; 70 off_the_record_ = off_the_record;
71 } 71 }
72 virtual bool IsOffTheRecord() { return off_the_record_; } 72 virtual bool IsOffTheRecord() { return off_the_record_; }
73 virtual Profile* GetOffTheRecordProfile() { return NULL; } 73 virtual Profile* GetOffTheRecordProfile() { return NULL; }
74 74
75 virtual void DestroyOffTheRecordProfile() {} 75 virtual void DestroyOffTheRecordProfile() {}
76 76
77 virtual Profile* GetOriginalProfile() { return this; } 77 virtual Profile* GetOriginalProfile() { return this; }
78 virtual webkit_database::DatabaseTracker* GetDatabaseTracker(); 78 virtual webkit_database::DatabaseTracker* GetDatabaseTracker();
79 virtual VisitedLinkMaster* GetVisitedLinkMaster() { return NULL; } 79 virtual VisitedLinkMaster* GetVisitedLinkMaster() { return NULL; }
80 virtual void PreloadVisitedLinkMaster() {}
80 virtual ExtensionsService* GetExtensionsService() { return NULL; } 81 virtual ExtensionsService* GetExtensionsService() { return NULL; }
81 virtual UserScriptMaster* GetUserScriptMaster() { return NULL; } 82 virtual UserScriptMaster* GetUserScriptMaster() { return NULL; }
82 virtual ExtensionDevToolsManager* GetExtensionDevToolsManager() { 83 virtual ExtensionDevToolsManager* GetExtensionDevToolsManager() {
83 return NULL; 84 return NULL;
84 } 85 }
85 virtual ExtensionProcessManager* GetExtensionProcessManager() { return NULL; } 86 virtual ExtensionProcessManager* GetExtensionProcessManager() { return NULL; }
86 virtual ExtensionMessageService* GetExtensionMessageService() { return NULL; } 87 virtual ExtensionMessageService* GetExtensionMessageService() { return NULL; }
87 virtual SSLHostState* GetSSLHostState() { return NULL; } 88 virtual SSLHostState* GetSSLHostState() { return NULL; }
88 virtual net::TransportSecurityState* GetTransportSecurityState() { 89 virtual net::TransportSecurityState* GetTransportSecurityState() {
89 return NULL; 90 return NULL;
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 257
257 virtual ProfileId GetRuntimeId() { 258 virtual ProfileId GetRuntimeId() {
258 return original_profile_->GetRuntimeId(); 259 return original_profile_->GetRuntimeId();
259 } 260 }
260 261
261 protected: 262 protected:
262 Profile* original_profile_; 263 Profile* original_profile_;
263 }; 264 };
264 265
265 #endif // CHROME_TEST_TESTING_PROFILE_H_ 266 #endif // CHROME_TEST_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/visitedlink_master.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698