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 "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/environment.h" | 9 #include "base/environment.h" |
10 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/path_service.h" | 12 #include "base/path_service.h" |
13 #include "base/threading/thread.h" | 13 #include "base/threading/thread.h" |
| 14 #include "build/build_config.h" |
14 #include "content/public/browser/browser_thread.h" | 15 #include "content/public/browser/browser_thread.h" |
15 #include "content/public/browser/storage_partition.h" | 16 #include "content/public/browser/storage_partition.h" |
16 #include "content/public/common/content_switches.h" | 17 #include "content/public/common/content_switches.h" |
17 #include "content/shell/browser/shell_download_manager_delegate.h" | 18 #include "content/shell/browser/shell_download_manager_delegate.h" |
18 #include "content/shell/browser/shell_permission_manager.h" | 19 #include "content/shell/browser/shell_permission_manager.h" |
19 #include "content/shell/common/shell_switches.h" | 20 #include "content/shell/common/shell_switches.h" |
20 | 21 |
21 #if defined(OS_WIN) | 22 #if defined(OS_WIN) |
22 #include "base/base_paths_win.h" | 23 #include "base/base_paths_win.h" |
23 #elif defined(OS_LINUX) | 24 #elif defined(OS_LINUX) |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 if (!permission_manager_.get()) | 205 if (!permission_manager_.get()) |
205 permission_manager_.reset(new ShellPermissionManager()); | 206 permission_manager_.reset(new ShellPermissionManager()); |
206 return permission_manager_.get(); | 207 return permission_manager_.get(); |
207 } | 208 } |
208 | 209 |
209 BackgroundSyncController* ShellBrowserContext::GetBackgroundSyncController() { | 210 BackgroundSyncController* ShellBrowserContext::GetBackgroundSyncController() { |
210 return nullptr; | 211 return nullptr; |
211 } | 212 } |
212 | 213 |
213 } // namespace content | 214 } // namespace content |
OLD | NEW |