OLD | NEW |
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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 BackgroundSyncController* ShellBrowserContext::GetBackgroundSyncController() { | 218 BackgroundSyncController* ShellBrowserContext::GetBackgroundSyncController() { |
219 if (!background_sync_controller_) | 219 if (!background_sync_controller_) |
220 background_sync_controller_.reset(new MockBackgroundSyncController()); | 220 background_sync_controller_.reset(new MockBackgroundSyncController()); |
221 return background_sync_controller_.get(); | 221 return background_sync_controller_.get(); |
222 } | 222 } |
223 | 223 |
| 224 BrowsingDataRemoverDelegate* |
| 225 ShellBrowserContext::GetBrowsingDataRemoverDelegate() { |
| 226 return nullptr; |
| 227 } |
| 228 |
224 } // namespace content | 229 } // namespace content |
OLD | NEW |