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

Side by Side Diff: components/html_viewer/run_all_unittests.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <vector> 5 #include <vector>
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/test/launcher/unit_test_launcher.h" 10 #include "base/test/launcher/unit_test_launcher.h"
11 #include "base/test/test_suite.h" 11 #include "base/test/test_suite.h"
12 #include "build/build_config.h"
12 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h" 13 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h"
13 #include "ui/base/resource/resource_bundle.h" 14 #include "ui/base/resource/resource_bundle.h"
14 #include "ui/gfx/display.h" 15 #include "ui/gfx/display.h"
15 #include "ui/gfx/geometry/size.h" 16 #include "ui/gfx/geometry/size.h"
16 #include "ui/mojo/init/ui_init.h" 17 #include "ui/mojo/init/ui_init.h"
17 18
18 #if defined(OS_ANDROID) 19 #if defined(OS_ANDROID)
19 #include "base/android/apk_assets.h" 20 #include "base/android/apk_assets.h"
20 #include "base/android/jni_android.h" 21 #include "base/android/jni_android.h"
21 #include "base/test/test_file_util.h" 22 #include "base/test/test_file_util.h"
(...skipping 28 matching lines...) Expand all
50 pak_path = pak_path.AppendASCII("html_viewer.pak"); 51 pak_path = pak_path.AppendASCII("html_viewer.pak");
51 ui::ResourceBundle::InitSharedInstanceWithPakPath(pak_path); 52 ui::ResourceBundle::InitSharedInstanceWithPakPath(pak_path);
52 #endif 53 #endif
53 ui::mojo::UIInit ui_init(GetTestDisplays()); 54 ui::mojo::UIInit ui_init(GetTestDisplays());
54 mojo::embedder::Init(); 55 mojo::embedder::Init();
55 56
56 return base::LaunchUnitTests( 57 return base::LaunchUnitTests(
57 argc, argv, 58 argc, argv,
58 base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite))); 59 base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite)));
59 } 60 }
OLDNEW
« no previous file with comments | « components/html_viewer/replicated_frame_state.h ('k') | components/html_viewer/stats_collection_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698