OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/public/test/test_browser_context.h" | 5 #include "content/public/test/test_browser_context.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/test/null_task_runner.h" | 10 #include "base/test/null_task_runner.h" |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 return NULL; | 142 return NULL; |
143 } | 143 } |
144 | 144 |
145 BackgroundSyncController* TestBrowserContext::GetBackgroundSyncController() { | 145 BackgroundSyncController* TestBrowserContext::GetBackgroundSyncController() { |
146 if (!background_sync_controller_) | 146 if (!background_sync_controller_) |
147 background_sync_controller_.reset(new BackgroundSyncController()); | 147 background_sync_controller_.reset(new BackgroundSyncController()); |
148 | 148 |
149 return background_sync_controller_.get(); | 149 return background_sync_controller_.get(); |
150 } | 150 } |
151 | 151 |
| 152 ChooserPermissionManager* TestBrowserContext::GetChooserPermissionManager() { |
| 153 return nullptr; |
| 154 } |
| 155 |
152 } // namespace content | 156 } // namespace content |
OLD | NEW |