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

Side by Side Diff: chromecast/app/cast_main_delegate.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/app/cast_main_delegate.h ('k') | chromecast/app/resources/chromecast_settings.grd » ('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/app/cast_main_delegate.h" 5 #include "chromecast/app/cast_main_delegate.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/cpu.h" 8 #include "base/cpu.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "base/posix/global_descriptors.h" 11 #include "base/posix/global_descriptors.h"
12 #include "chromecast/browser/cast_content_browser_client.h"
12 #include "chromecast/common/cast_paths.h" 13 #include "chromecast/common/cast_paths.h"
13 #include "chromecast/common/cast_resource_delegate.h" 14 #include "chromecast/common/cast_resource_delegate.h"
14 #include "chromecast/common/global_descriptors.h" 15 #include "chromecast/common/global_descriptors.h"
15 #include "chromecast/shell/browser/cast_content_browser_client.h" 16 #include "chromecast/renderer/cast_content_renderer_client.h"
16 #include "chromecast/shell/renderer/cast_content_renderer_client.h"
17 #include "content/public/browser/browser_main_runner.h" 17 #include "content/public/browser/browser_main_runner.h"
18 #include "content/public/common/content_switches.h" 18 #include "content/public/common/content_switches.h"
19 #include "ui/base/resource/resource_bundle.h" 19 #include "ui/base/resource/resource_bundle.h"
20 20
21 #if defined(OS_ANDROID) 21 #if defined(OS_ANDROID)
22 #include "chromecast/crash/android/crash_handler.h" 22 #include "chromecast/crash/android/crash_handler.h"
23 #endif // defined(OS_ANDROID) 23 #endif // defined(OS_ANDROID)
24 24
25 namespace chromecast { 25 namespace chromecast {
26 namespace shell { 26 namespace shell {
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 } 131 }
132 132
133 content::ContentRendererClient* 133 content::ContentRendererClient*
134 CastMainDelegate::CreateContentRendererClient() { 134 CastMainDelegate::CreateContentRendererClient() {
135 renderer_client_.reset(new CastContentRendererClient); 135 renderer_client_.reset(new CastContentRendererClient);
136 return renderer_client_.get(); 136 return renderer_client_.get();
137 } 137 }
138 138
139 } // namespace shell 139 } // namespace shell
140 } // namespace chromecast 140 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/app/cast_main_delegate.h ('k') | chromecast/app/resources/chromecast_settings.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698