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

Side by Side Diff: chromecast/browser/cast_browser_context.cc

Issue 683733006: Start accepting http connections in next run loop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « chromecast/base/cast_paths.cc ('k') | chromecast/browser/cast_browser_main_parts.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chromecast/browser/cast_browser_context.h" 5 #include "chromecast/browser/cast_browser_context.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/files/file_util.h" 8 #include "base/files/file_util.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "chromecast/base/cast_paths.h"
11 #include "chromecast/browser/cast_download_manager_delegate.h" 12 #include "chromecast/browser/cast_download_manager_delegate.h"
12 #include "chromecast/browser/cast_permission_manager.h" 13 #include "chromecast/browser/cast_permission_manager.h"
13 #include "chromecast/browser/url_request_context_factory.h" 14 #include "chromecast/browser/url_request_context_factory.h"
14 #include "chromecast/common/cast_paths.h"
15 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
16 #include "content/public/browser/resource_context.h" 16 #include "content/public/browser/resource_context.h"
17 #include "content/public/browser/storage_partition.h" 17 #include "content/public/browser/storage_partition.h"
18 #include "content/public/common/content_switches.h" 18 #include "content/public/common/content_switches.h"
19 #include "net/url_request/url_request_context.h" 19 #include "net/url_request/url_request_context.h"
20 #include "net/url_request/url_request_context_getter.h" 20 #include "net/url_request/url_request_context_getter.h"
21 21
22 namespace chromecast { 22 namespace chromecast {
23 namespace shell { 23 namespace shell {
24 24
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 } 151 }
152 152
153 content::PermissionManager* CastBrowserContext::GetPermissionManager() { 153 content::PermissionManager* CastBrowserContext::GetPermissionManager() {
154 if (!permission_manager_.get()) 154 if (!permission_manager_.get())
155 permission_manager_.reset(new CastPermissionManager()); 155 permission_manager_.reset(new CastPermissionManager());
156 return permission_manager_.get(); 156 return permission_manager_.get();
157 } 157 }
158 158
159 } // namespace shell 159 } // namespace shell
160 } // namespace chromecast 160 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/base/cast_paths.cc ('k') | chromecast/browser/cast_browser_main_parts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698