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

Side by Side Diff: content/public/test/browser_test_base.cc

Issue 1137083005: Move ContentBrowserSanityChecker and WebContentsObserverSanityChecker from content/public/test to c… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « content/content_tests.gypi ('k') | content/public/test/content_browser_sanity_checker.h » ('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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "content/public/test/browser_test_base.h" 5 #include "content/public/test/browser_test_base.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/debug/stack_trace.h" 9 #include "base/debug/stack_trace.h"
10 #include "base/i18n/icu_util.h" 10 #include "base/i18n/icu_util.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
13 #include "base/sys_info.h" 13 #include "base/sys_info.h"
14 #include "base/test/test_timeouts.h" 14 #include "base/test/test_timeouts.h"
15 #include "content/browser/renderer_host/render_process_host_impl.h" 15 #include "content/browser/renderer_host/render_process_host_impl.h"
16 #include "content/browser/tracing/tracing_controller_impl.h" 16 #include "content/browser/tracing/tracing_controller_impl.h"
17 #include "content/public/app/content_main.h" 17 #include "content/public/app/content_main.h"
18 #include "content/public/browser/browser_thread.h" 18 #include "content/public/browser/browser_thread.h"
19 #include "content/public/common/content_switches.h" 19 #include "content/public/common/content_switches.h"
20 #include "content/public/common/main_function_params.h" 20 #include "content/public/common/main_function_params.h"
21 #include "content/public/test/content_browser_sanity_checker.h"
22 #include "content/public/test/test_launcher.h" 21 #include "content/public/test/test_launcher.h"
23 #include "content/public/test/test_utils.h" 22 #include "content/public/test/test_utils.h"
23 #include "content/test/content_browser_sanity_checker.h"
24 #include "net/base/net_errors.h" 24 #include "net/base/net_errors.h"
25 #include "net/dns/mock_host_resolver.h" 25 #include "net/dns/mock_host_resolver.h"
26 #include "net/test/embedded_test_server/embedded_test_server.h" 26 #include "net/test/embedded_test_server/embedded_test_server.h"
27 #include "ui/compositor/compositor_switches.h" 27 #include "ui/compositor/compositor_switches.h"
28 #include "ui/gl/gl_implementation.h" 28 #include "ui/gl/gl_implementation.h"
29 #include "ui/gl/gl_switches.h" 29 #include "ui/gl/gl_switches.h"
30 30
31 #if defined(OS_POSIX) 31 #if defined(OS_POSIX)
32 #include "base/process/process_handle.h" 32 #include "base/process/process_handle.h"
33 #endif 33 #endif
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 use_software_compositing_ = true; 347 use_software_compositing_ = true;
348 } 348 }
349 349
350 bool BrowserTestBase::UsingOSMesa() const { 350 bool BrowserTestBase::UsingOSMesa() const {
351 base::CommandLine* cmd = base::CommandLine::ForCurrentProcess(); 351 base::CommandLine* cmd = base::CommandLine::ForCurrentProcess();
352 return cmd->GetSwitchValueASCII(switches::kUseGL) == 352 return cmd->GetSwitchValueASCII(switches::kUseGL) ==
353 gfx::kGLImplementationOSMesaName; 353 gfx::kGLImplementationOSMesaName;
354 } 354 }
355 355
356 } // namespace content 356 } // namespace content
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/test/content_browser_sanity_checker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698