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

Side by Side Diff: chrome/browser/ui/app_list/test/fake_profile.cc

Issue 2777063008: Connect BackgroundFetch to the OfflineItemCollection
Patch Set: Code review comments Created 3 years, 8 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "chrome/browser/ui/app_list/test/fake_profile.h" 6 #include "chrome/browser/ui/app_list/test/fake_profile.h"
7 7
8 FakeProfile::FakeProfile(const std::string& name) 8 FakeProfile::FakeProfile(const std::string& name)
9 : name_(name) { 9 : name_(name) {
10 BrowserContext::Initialize(this, base::FilePath()); 10 BrowserContext::Initialize(this, base::FilePath());
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 } 58 }
59 59
60 content::SSLHostStateDelegate* FakeProfile::GetSSLHostStateDelegate() { 60 content::SSLHostStateDelegate* FakeProfile::GetSSLHostStateDelegate() {
61 return nullptr; 61 return nullptr;
62 } 62 }
63 63
64 content::PermissionManager* FakeProfile::GetPermissionManager() { 64 content::PermissionManager* FakeProfile::GetPermissionManager() {
65 return nullptr; 65 return nullptr;
66 } 66 }
67 67
68 content::BackgroundFetchClient* FakeProfile::GetBackgroundFetchClient() {
69 return nullptr;
70 }
71
68 content::BackgroundSyncController* FakeProfile::GetBackgroundSyncController() { 72 content::BackgroundSyncController* FakeProfile::GetBackgroundSyncController() {
69 return nullptr; 73 return nullptr;
70 } 74 }
71 75
72 net::URLRequestContextGetter* FakeProfile::CreateRequestContext( 76 net::URLRequestContextGetter* FakeProfile::CreateRequestContext(
73 content::ProtocolHandlerMap* protocol_handlers, 77 content::ProtocolHandlerMap* protocol_handlers,
74 content::URLRequestInterceptorScopedVector request_interceptors) { 78 content::URLRequestInterceptorScopedVector request_interceptors) {
75 return nullptr; 79 return nullptr;
76 } 80 }
77 81
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { 204 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) {
201 return false; 205 return false;
202 } 206 }
203 207
204 void FakeProfile::SetExitType(ExitType exit_type) { 208 void FakeProfile::SetExitType(ExitType exit_type) {
205 } 209 }
206 210
207 Profile::ExitType FakeProfile::GetLastSessionExitType() { 211 Profile::ExitType FakeProfile::GetLastSessionExitType() {
208 return EXIT_NORMAL; 212 return EXIT_NORMAL;
209 } 213 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698