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

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

Issue 817153002: Switch users of foundation_util.h to include it directly and clean up uses of mac_util.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « content/common/sandbox_mac.mm ('k') | content/renderer/npapi/webplugin_delegate_proxy.cc » ('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"
(...skipping 14 matching lines...) Expand all
25 #include "net/test/embedded_test_server/embedded_test_server.h" 25 #include "net/test/embedded_test_server/embedded_test_server.h"
26 #include "ui/compositor/compositor_switches.h" 26 #include "ui/compositor/compositor_switches.h"
27 #include "ui/gl/gl_implementation.h" 27 #include "ui/gl/gl_implementation.h"
28 #include "ui/gl/gl_switches.h" 28 #include "ui/gl/gl_switches.h"
29 29
30 #if defined(OS_POSIX) 30 #if defined(OS_POSIX)
31 #include "base/process/process_handle.h" 31 #include "base/process/process_handle.h"
32 #endif 32 #endif
33 33
34 #if defined(OS_MACOSX) 34 #if defined(OS_MACOSX)
35 #include "base/mac/mac_util.h" 35 #include "base/mac/foundation_util.h"
36 #endif 36 #endif
37 37
38 #if defined(OS_ANDROID) 38 #if defined(OS_ANDROID)
39 #include "base/threading/thread_restrictions.h" 39 #include "base/threading/thread_restrictions.h"
40 #include "content/public/browser/browser_main_runner.h" 40 #include "content/public/browser/browser_main_runner.h"
41 #include "content/public/browser/browser_thread.h" 41 #include "content/public/browser/browser_thread.h"
42 #endif 42 #endif
43 43
44 #if defined(USE_AURA) 44 #if defined(USE_AURA)
45 #include "content/browser/compositor/image_transport_factory.h" 45 #include "content/browser/compositor/image_transport_factory.h"
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 use_software_compositing_ = true; 340 use_software_compositing_ = true;
341 } 341 }
342 342
343 bool BrowserTestBase::UsingOSMesa() const { 343 bool BrowserTestBase::UsingOSMesa() const {
344 CommandLine* cmd = CommandLine::ForCurrentProcess(); 344 CommandLine* cmd = CommandLine::ForCurrentProcess();
345 return cmd->GetSwitchValueASCII(switches::kUseGL) == 345 return cmd->GetSwitchValueASCII(switches::kUseGL) ==
346 gfx::kGLImplementationOSMesaName; 346 gfx::kGLImplementationOSMesaName;
347 } 347 }
348 348
349 } // namespace content 349 } // namespace content
OLDNEW
« no previous file with comments | « content/common/sandbox_mac.mm ('k') | content/renderer/npapi/webplugin_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698