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

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

Issue 19747: URLRequestContext and disk cache for media files (Closed)
Patch Set: signed and unsigned... Created 11 years, 10 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
« no previous file with comments | « chrome/common/chrome_constants.cc ('k') | net/disk_cache/disk_cache.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_path.h" 9 #include "base/file_path.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 } 116 }
117 virtual DownloadManager* GetDownloadManager() { 117 virtual DownloadManager* GetDownloadManager() {
118 return NULL; 118 return NULL;
119 } 119 }
120 virtual bool HasCreatedDownloadManager() const { 120 virtual bool HasCreatedDownloadManager() const {
121 return false; 121 return false;
122 } 122 }
123 virtual URLRequestContext* GetRequestContext() { 123 virtual URLRequestContext* GetRequestContext() {
124 return NULL; 124 return NULL;
125 } 125 }
126 virtual URLRequestContext* GetRequestContextForMedia() {
127 return NULL;
128 }
126 void set_session_service(SessionService* session_service) { 129 void set_session_service(SessionService* session_service) {
127 session_service_ = session_service; 130 session_service_ = session_service;
128 } 131 }
129 virtual SessionService* GetSessionService() { 132 virtual SessionService* GetSessionService() {
130 return session_service_.get(); 133 return session_service_.get();
131 } 134 }
132 virtual void ShutdownSessionService() { 135 virtual void ShutdownSessionService() {
133 } 136 }
134 virtual bool HasSessionService() const { 137 virtual bool HasSessionService() const {
135 return (session_service_.get() != NULL); 138 return (session_service_.get() != NULL);
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 221
219 std::wstring id_; 222 std::wstring id_;
220 223
221 bool off_the_record_; 224 bool off_the_record_;
222 225
223 // Did the last session exit cleanly? Default is true. 226 // Did the last session exit cleanly? Default is true.
224 bool last_session_exited_cleanly_; 227 bool last_session_exited_cleanly_;
225 }; 228 };
226 229
227 #endif // CHROME_TEST_TESTING_PROFILE_H_ 230 #endif // CHROME_TEST_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_constants.cc ('k') | net/disk_cache/disk_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698