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

Side by Side Diff: chrome/browser/extensions/api/command_line_private/command_line_private_apitest.cc

Issue 196413016: Move CommandLine to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "chrome/browser/extensions/extension_apitest.h" 6 #include "chrome/browser/extensions/extension_apitest.h"
7 7
8 namespace { 8 namespace {
9 // This should be consistent with 9 // This should be consistent with
10 // chrome/test/data/extensions/api_test/command_line/basics/test.js. 10 // chrome/test/data/extensions/api_test/command_line/basics/test.js.
11 const char kTestCommandLineSwitch[] = "command-line-private-api-test-foo"; 11 const char kTestCommandLineSwitch[] = "command-line-private-api-test-foo";
12 } // namespace 12 } // namespace
13 13
14 class CommandLinePrivateApiTest : public ExtensionApiTest { 14 class CommandLinePrivateApiTest : public ExtensionApiTest {
15 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { 15 virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE {
16 ExtensionApiTest::SetUpCommandLine(command_line); 16 ExtensionApiTest::SetUpCommandLine(command_line);
17 command_line->AppendSwitch(kTestCommandLineSwitch); 17 command_line->AppendSwitch(kTestCommandLineSwitch);
18 } 18 }
19 }; 19 };
20 20
21 IN_PROC_BROWSER_TEST_F(CommandLinePrivateApiTest, Basics) { 21 IN_PROC_BROWSER_TEST_F(CommandLinePrivateApiTest, Basics) {
22 EXPECT_TRUE(RunComponentExtensionTest("command_line/basics")) << message_; 22 EXPECT_TRUE(RunComponentExtensionTest("command_line/basics")) << message_;
23 } 23 }
OLDNEW
« no previous file with comments | « chrome/browser/diagnostics/diagnostics_model.h ('k') | chrome/browser/extensions/api/messaging/native_process_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698