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

Side by Side Diff: chrome/browser/extensions/api/serial/serial_apitest.cc

Issue 9174019: Add skeleton plumbing for serial API. No functionality yet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "base/command_line.h"
6 #include "base/memory/scoped_ptr.h"
7 #include "chrome/browser/extensions/api/serial/serial_api.h"
8 #include "chrome/browser/extensions/extension_apitest.h"
9 #include "chrome/browser/extensions/extension_function_test_utils.h"
10 #include "chrome/common/chrome_switches.h"
11 #include "content/public/browser/browser_thread.h"
12
13 using content::BrowserThread;
14
15 using namespace extension_function_test_utils;
16
17 namespace {
18
19 class SerialApiTest : public ExtensionApiTest {
20 public:
21 SerialApiTest() {}
22
23 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
24 ExtensionApiTest::SetUpCommandLine(command_line);
25 command_line->AppendSwitch(switches::kEnableExperimentalExtensionApis);
26 command_line->AppendSwitch(switches::kEnablePlatformApps);
27 }
28 };
29
30 } // namespace
31
32 IN_PROC_BROWSER_TEST_F(SerialApiTest, SerialExtension) {
33 ASSERT_TRUE(RunExtensionTest("serial/api")) << message_;
34 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/serial/serial_api.cc ('k') | chrome/browser/extensions/extension_function_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698