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

Side by Side Diff: android_webview/lib/main/webview_tests.cc

Issue 1231263003: Share SyncPointManager between ipc and in-process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove forward decl/includes Created 5 years, 5 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "android_webview/browser/deferred_gpu_command_service.h"
5 #include "android_webview/native/android_webview_jni_registrar.h" 6 #include "android_webview/native/android_webview_jni_registrar.h"
6 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
7 #include "base/command_line.h" 8 #include "base/command_line.h"
8 #include "base/test/test_suite.h" 9 #include "base/test/test_suite.h"
9 #include "content/public/common/content_switches.h" 10 #include "content/public/common/content_switches.h"
10 #include "ui/gl/gl_surface.h" 11 #include "ui/gl/gl_surface.h"
11 #include "ui/gl/test/gl_surface_test_support.h" 12 #include "ui/gl/test/gl_surface_test_support.h"
12 13
13 int main(int argc, char** argv) { 14 int main(int argc, char** argv) {
14 android_webview::RegisterJni(base::android::AttachCurrentThread()); 15 android_webview::RegisterJni(base::android::AttachCurrentThread());
15 base::CommandLine::ForCurrentProcess()->AppendSwitch( 16 base::CommandLine::ForCurrentProcess()->AppendSwitch(
16 switches::kSingleProcess); 17 switches::kSingleProcess);
17 gfx::GLSurfaceTestSupport::InitializeOneOff(); 18 gfx::GLSurfaceTestSupport::InitializeOneOff();
19 android_webview::DeferredGpuCommandService::SetInstance();
18 return base::TestSuite(argc, argv).Run(); 20 return base::TestSuite(argc, argv).Run();
19 } 21 }
OLDNEW
« no previous file with comments | « android_webview/browser/shared_renderer_state.cc ('k') | components/view_manager/gles2/command_buffer_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698