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

Side by Side Diff: chrome/browser/extensions/api/networking_private/networking_private_apitest.cc

Issue 870163002: Move networking_private to src/extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GN 2 Created 5 years, 10 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <map> 5 #include <map>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "chrome/browser/extensions/api/networking_private/networking_private_de legate.h"
11 #include "chrome/browser/extensions/api/networking_private/networking_private_de legate_factory.h"
12 #include "chrome/browser/extensions/extension_apitest.h" 10 #include "chrome/browser/extensions/extension_apitest.h"
13 #include "components/keyed_service/core/keyed_service.h" 11 #include "components/keyed_service/core/keyed_service.h"
14 #include "components/onc/onc_constants.h" 12 #include "components/onc/onc_constants.h"
15 #include "content/public/test/test_utils.h" 13 #include "content/public/test/test_utils.h"
14 #include "extensions/browser/api/networking_private/networking_private_delegate. h"
15 #include "extensions/browser/api/networking_private/networking_private_delegate_ factory.h"
16 #include "extensions/common/switches.h" 16 #include "extensions/common/switches.h"
17 17
18 namespace extensions { 18 namespace extensions {
19 19
20 // This tests just the interface for the networkingPrivate API, i.e. it ensures 20 // This tests just the interface for the networkingPrivate API, i.e. it ensures
21 // that the delegate methods are called as expected. 21 // that the delegate methods are called as expected.
22 22
23 namespace { 23 namespace {
24 24
25 const char kFailure[] = "Failure"; 25 const char kFailure[] = "Failure";
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 EXPECT_FALSE(RunNetworkingSubtest("getWifiTDLSStatus")) << message_; 461 EXPECT_FALSE(RunNetworkingSubtest("getWifiTDLSStatus")) << message_;
462 } 462 }
463 463
464 IN_PROC_BROWSER_TEST_F(NetworkingPrivateApiTestFail, GetCaptivePortalStatus) { 464 IN_PROC_BROWSER_TEST_F(NetworkingPrivateApiTestFail, GetCaptivePortalStatus) {
465 EXPECT_FALSE(RunNetworkingSubtest("getCaptivePortalStatus")) << message_; 465 EXPECT_FALSE(RunNetworkingSubtest("getCaptivePortalStatus")) << message_;
466 } 466 }
467 467
468 #endif // defined(OS_WIN) 468 #endif // defined(OS_WIN)
469 469
470 } // namespace extensions 470 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698