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

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

Issue 638803002: Reorganizes Chromecast code to better reflect functional dependencies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: extra DEPS: chromecast/crash/android --> chromecast/common Created 6 years, 2 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/browser/url_request_context_factory.h ('k') | chromecast/browser/webui/webui_cast.h » ('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/shell/browser/url_request_context_factory.h" 5 #include "chromecast/browser/url_request_context_factory.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.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 "base/threading/worker_pool.h" 11 #include "base/threading/worker_pool.h"
12 #include "chromecast/shell/browser/cast_http_user_agent_settings.h" 12 #include "chromecast/browser/cast_http_user_agent_settings.h"
13 #include "chromecast/shell/browser/cast_network_delegate.h" 13 #include "chromecast/browser/cast_network_delegate.h"
14 #include "content/public/browser/browser_context.h" 14 #include "content/public/browser/browser_context.h"
15 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
16 #include "content/public/browser/cookie_store_factory.h" 16 #include "content/public/browser/cookie_store_factory.h"
17 #include "content/public/common/content_switches.h" 17 #include "content/public/common/content_switches.h"
18 #include "content/public/common/url_constants.h" 18 #include "content/public/common/url_constants.h"
19 #include "net/cert/cert_verifier.h" 19 #include "net/cert/cert_verifier.h"
20 #include "net/cookies/cookie_store.h" 20 #include "net/cookies/cookie_store.h"
21 #include "net/dns/host_resolver.h" 21 #include "net/dns/host_resolver.h"
22 #include "net/http/http_auth_handler_factory.h" 22 #include "net/http/http_auth_handler_factory.h"
23 #include "net/http/http_cache.h" 23 #include "net/http/http_cache.h"
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 406
407 void URLRequestContextFactory::InitializeNetworkDelegates() { 407 void URLRequestContextFactory::InitializeNetworkDelegates() {
408 app_network_delegate_->Initialize(false); 408 app_network_delegate_->Initialize(false);
409 LOG(INFO) << "Initialized app network delegate."; 409 LOG(INFO) << "Initialized app network delegate.";
410 system_network_delegate_->Initialize(false); 410 system_network_delegate_->Initialize(false);
411 LOG(INFO) << "Initialized system network delegate."; 411 LOG(INFO) << "Initialized system network delegate.";
412 } 412 }
413 413
414 } // namespace shell 414 } // namespace shell
415 } // namespace chromecast 415 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/browser/url_request_context_factory.h ('k') | chromecast/browser/webui/webui_cast.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698