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/test/chromecast_browser_test_runner.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
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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/macros.h" 6 #include "base/macros.h"
7 #include "base/sys_info.h" 7 #include "base/sys_info.h"
8 #include "chromecast/shell/app/cast_main_delegate.h" 8 #include "chromecast/app/cast_main_delegate.h"
9 #include "content/public/common/content_switches.h" 9 #include "content/public/common/content_switches.h"
10 #include "content/public/test/content_test_suite_base.h" 10 #include "content/public/test/content_test_suite_base.h"
11 #include "content/public/test/test_launcher.h" 11 #include "content/public/test/test_launcher.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 namespace chromecast { 14 namespace chromecast {
15 namespace shell { 15 namespace shell {
16 16
17 namespace { 17 namespace {
18 18
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 } // namespace 59 } // namespace
60 60
61 } // namespace shell 61 } // namespace shell
62 } // namespace chromecast 62 } // namespace chromecast
63 63
64 int main(int argc, char** argv) { 64 int main(int argc, char** argv) {
65 int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2); 65 int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2);
66 chromecast::shell::ChromecastTestLauncherDelegate launcher_delegate; 66 chromecast::shell::ChromecastTestLauncherDelegate launcher_delegate;
67 return LaunchTests(&launcher_delegate, default_jobs, argc, argv); 67 return LaunchTests(&launcher_delegate, default_jobs, argc, argv);
68 } 68 }
OLDNEW
« no previous file with comments | « chromecast/browser/test/chromecast_browser_test.cc ('k') | chromecast/browser/test/chromecast_shell_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698