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

Side by Side Diff: ui/ozone/platform/test/ozone_platform_test.cc

Issue 819223002: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years 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 | « ui/ozone/platform/dri/ozone_platform_gbm.cc ('k') | ui/ozone/platform_selection.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "ui/ozone/platform/test/ozone_platform_test.h" 5 #include "ui/ozone/platform/test/ozone_platform_test.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h" 9 #include "ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h"
10 #include "ui/events/ozone/layout/keyboard_layout_engine_manager.h" 10 #include "ui/events/ozone/layout/keyboard_layout_engine_manager.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 scoped_ptr<GpuPlatformSupport> gpu_platform_support_; 88 scoped_ptr<GpuPlatformSupport> gpu_platform_support_;
89 scoped_ptr<GpuPlatformSupportHost> gpu_platform_support_host_; 89 scoped_ptr<GpuPlatformSupportHost> gpu_platform_support_host_;
90 base::FilePath file_path_; 90 base::FilePath file_path_;
91 91
92 DISALLOW_COPY_AND_ASSIGN(OzonePlatformTest); 92 DISALLOW_COPY_AND_ASSIGN(OzonePlatformTest);
93 }; 93 };
94 94
95 } // namespace 95 } // namespace
96 96
97 OzonePlatform* CreateOzonePlatformTest() { 97 OzonePlatform* CreateOzonePlatformTest() {
98 CommandLine* cmd = CommandLine::ForCurrentProcess(); 98 base::CommandLine* cmd = base::CommandLine::ForCurrentProcess();
99 base::FilePath location; 99 base::FilePath location;
100 if (cmd->HasSwitch(switches::kOzoneDumpFile)) 100 if (cmd->HasSwitch(switches::kOzoneDumpFile))
101 location = cmd->GetSwitchValuePath(switches::kOzoneDumpFile); 101 location = cmd->GetSwitchValuePath(switches::kOzoneDumpFile);
102 return new OzonePlatformTest(location); 102 return new OzonePlatformTest(location);
103 } 103 }
104 104
105 } // namespace ui 105 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/platform/dri/ozone_platform_gbm.cc ('k') | ui/ozone/platform_selection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698