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

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

Issue 1315303004: Turn components/crash into a layered component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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/cast_browser_process.cc ('k') | components/BUILD.gn » ('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_content_browser_client.h" 5 #include "chromecast/browser/cast_content_browser_client.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/base_switches.h" 9 #include "base/base_switches.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 11 matching lines...) Expand all
22 #include "chromecast/browser/cast_resource_dispatcher_host_delegate.h" 22 #include "chromecast/browser/cast_resource_dispatcher_host_delegate.h"
23 #include "chromecast/browser/geolocation/cast_access_token_store.h" 23 #include "chromecast/browser/geolocation/cast_access_token_store.h"
24 #include "chromecast/browser/media/cma_media_pipeline_client.h" 24 #include "chromecast/browser/media/cma_media_pipeline_client.h"
25 #include "chromecast/browser/media/cma_message_filter_host.h" 25 #include "chromecast/browser/media/cma_message_filter_host.h"
26 #include "chromecast/browser/service/cast_service_simple.h" 26 #include "chromecast/browser/service/cast_service_simple.h"
27 #include "chromecast/browser/url_request_context_factory.h" 27 #include "chromecast/browser/url_request_context_factory.h"
28 #include "chromecast/common/global_descriptors.h" 28 #include "chromecast/common/global_descriptors.h"
29 #include "chromecast/media/base/media_message_loop.h" 29 #include "chromecast/media/base/media_message_loop.h"
30 #include "chromecast/public/cast_media_shlib.h" 30 #include "chromecast/public/cast_media_shlib.h"
31 #include "chromecast/public/media/media_pipeline_backend.h" 31 #include "chromecast/public/media/media_pipeline_backend.h"
32 #include "components/crash/app/breakpad_linux.h" 32 #include "components/crash/content/app/breakpad_linux.h"
33 #include "components/crash/browser/crash_handler_host_linux.h" 33 #include "components/crash/content/browser/crash_handler_host_linux.h"
34 #include "components/network_hints/browser/network_hints_message_filter.h" 34 #include "components/network_hints/browser/network_hints_message_filter.h"
35 #include "content/public/browser/browser_thread.h" 35 #include "content/public/browser/browser_thread.h"
36 #include "content/public/browser/certificate_request_result_type.h" 36 #include "content/public/browser/certificate_request_result_type.h"
37 #include "content/public/browser/client_certificate_delegate.h" 37 #include "content/public/browser/client_certificate_delegate.h"
38 #include "content/public/browser/render_process_host.h" 38 #include "content/public/browser/render_process_host.h"
39 #include "content/public/browser/resource_dispatcher_host.h" 39 #include "content/public/browser/resource_dispatcher_host.h"
40 #include "content/public/browser/web_contents.h" 40 #include "content/public/browser/web_contents.h"
41 #include "content/public/common/content_descriptors.h" 41 #include "content/public/common/content_descriptors.h"
42 #include "content/public/common/content_switches.h" 42 #include "content/public/common/content_switches.h"
43 #include "content/public/common/url_constants.h" 43 #include "content/public/common/url_constants.h"
44 #include "content/public/common/web_preferences.h" 44 #include "content/public/common/web_preferences.h"
45 #include "media/audio/audio_manager_factory.h" 45 #include "media/audio/audio_manager_factory.h"
46 #include "net/ssl/ssl_cert_request_info.h" 46 #include "net/ssl/ssl_cert_request_info.h"
47 #include "net/url_request/url_request_context_getter.h" 47 #include "net/url_request/url_request_context_getter.h"
48 #include "ui/gl/gl_switches.h" 48 #include "ui/gl/gl_switches.h"
49 49
50 #if defined(OS_ANDROID) 50 #if defined(OS_ANDROID)
51 #include "components/crash/browser/crash_dump_manager_android.h" 51 #include "components/crash/content/browser/crash_dump_manager_android.h"
52 #include "components/external_video_surface/browser/android/external_video_surfa ce_container_impl.h" 52 #include "components/external_video_surface/browser/android/external_video_surfa ce_container_impl.h"
53 #else 53 #else
54 #include "chromecast/browser/media/cast_browser_cdm_factory.h" 54 #include "chromecast/browser/media/cast_browser_cdm_factory.h"
55 #endif // defined(OS_ANDROID) 55 #endif // defined(OS_ANDROID)
56 56
57 namespace chromecast { 57 namespace chromecast {
58 namespace shell { 58 namespace shell {
59 59
60 CastContentBrowserClient::CastContentBrowserClient() 60 CastContentBrowserClient::CastContentBrowserClient()
61 : url_request_context_factory_(new URLRequestContextFactory()) { 61 : url_request_context_factory_(new URLRequestContextFactory()) {
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 process_type, dumps_path, false /* upload */); 448 process_type, dumps_path, false /* upload */);
449 // StartUploaderThread() even though upload is diferred. 449 // StartUploaderThread() even though upload is diferred.
450 // Breakpad-related memory is freed in the uploader thread. 450 // Breakpad-related memory is freed in the uploader thread.
451 crash_handler->StartUploaderThread(); 451 crash_handler->StartUploaderThread();
452 return crash_handler; 452 return crash_handler;
453 } 453 }
454 #endif // !defined(OS_ANDROID) 454 #endif // !defined(OS_ANDROID)
455 455
456 } // namespace shell 456 } // namespace shell
457 } // namespace chromecast 457 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/browser/cast_browser_process.cc ('k') | components/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698