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

Side by Side Diff: chrome/browser/chromeos/extensions/networking_private_apitest.cc

Issue 11975015: This adds a private extension API to use for simple networking (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed self review nits Created 7 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) 2013 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 <stdio.h>
6
7 #include "base/stl_util.h"
mazda 2013/01/16 22:08:52 Several headers seem unnecessary.
Greg Spencer (Chromium) 2013/01/16 22:29:17 Done.
8 #include "chrome/browser/extensions/extension_apitest.h"
9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/ui/browser.h"
11 #include "chrome/common/chrome_switches.h"
12 #include "chrome/test/base/ui_test_utils.h"
13
14 namespace chromeos {
15
16 class ExtensionNetworkingPrivateApiTest : public ExtensionApiTest {
17 public:
18 // Whitelist the testing extension.
19 virtual void SetUpCommandLine(CommandLine* command_line) {
20 ExtensionApiTest::SetUpCommandLine(command_line);
21
22 // Whitelist the extension ID of the test extension.
23 command_line->AppendSwitchASCII(
24 switches::kWhitelistedExtensionID, "epcifkihnkjgphfkloaaleeakhpmgdmn");
25 }
26 };
27
28 IN_PROC_BROWSER_TEST_F(ExtensionNetworkingPrivateApiTest, BasicFunctions) {
29 ASSERT_TRUE(RunComponentExtensionTest("networking")) << message_;
30 }
31
32 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698