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

Side by Side Diff: content/shell/browser/shell_browser_context.cc

Issue 2777063008: Connect BackgroundFetch to the OfflineItemCollection
Patch Set: Fixed incognito check and added tests 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 "content/shell/browser/shell_browser_context.h" 5 #include "content/shell/browser/shell_browser_context.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 SSLHostStateDelegate* ShellBrowserContext::GetSSLHostStateDelegate() { 208 SSLHostStateDelegate* ShellBrowserContext::GetSSLHostStateDelegate() {
209 return NULL; 209 return NULL;
210 } 210 }
211 211
212 PermissionManager* ShellBrowserContext::GetPermissionManager() { 212 PermissionManager* ShellBrowserContext::GetPermissionManager() {
213 if (!permission_manager_.get()) 213 if (!permission_manager_.get())
214 permission_manager_.reset(new ShellPermissionManager()); 214 permission_manager_.reset(new ShellPermissionManager());
215 return permission_manager_.get(); 215 return permission_manager_.get();
216 } 216 }
217 217
218 BackgroundFetchClient* ShellBrowserContext::GetBackgroundFetchClient() {
219 return nullptr;
220 }
221
218 BackgroundSyncController* ShellBrowserContext::GetBackgroundSyncController() { 222 BackgroundSyncController* ShellBrowserContext::GetBackgroundSyncController() {
219 if (!background_sync_controller_) 223 if (!background_sync_controller_)
220 background_sync_controller_.reset(new MockBackgroundSyncController()); 224 background_sync_controller_.reset(new MockBackgroundSyncController());
221 return background_sync_controller_.get(); 225 return background_sync_controller_.get();
222 } 226 }
223 227
224 } // namespace content 228 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698