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

Side by Side Diff: chrome/browser/chromeos/login/demo_mode/demo_app_launcher_browsertest.cc

Issue 300623008: Move NetworkTypePattern to its own file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 6 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 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 "apps/app_window_registry.h" 5 #include "apps/app_window_registry.h"
6 #include "base/basictypes.h" 6 #include "base/basictypes.h"
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "chrome/browser/chrome_notification_types.h" 11 #include "chrome/browser/chrome_notification_types.h"
12 #include "chrome/browser/chromeos/login/demo_mode/demo_app_launcher.h" 12 #include "chrome/browser/chromeos/login/demo_mode/demo_app_launcher.h"
13 #include "chrome/browser/chromeos/login/test/app_window_waiter.h" 13 #include "chrome/browser/chromeos/login/test/app_window_waiter.h"
14 #include "chrome/browser/chromeos/login/users/user_manager.h" 14 #include "chrome/browser/chromeos/login/users/user_manager.h"
15 #include "chrome/browser/extensions/extension_browsertest.h" 15 #include "chrome/browser/extensions/extension_browsertest.h"
16 #include "chrome/browser/profiles/profile.h" 16 #include "chrome/browser/profiles/profile.h"
17 #include "chrome/browser/profiles/profile_manager.h" 17 #include "chrome/browser/profiles/profile_manager.h"
18 #include "chrome/common/chrome_paths.h" 18 #include "chrome/common/chrome_paths.h"
19 #include "chromeos/chromeos_switches.h" 19 #include "chromeos/chromeos_switches.h"
20 #include "chromeos/network/network_state.h" 20 #include "chromeos/network/network_state.h"
21 #include "chromeos/network/network_state_handler.h" 21 #include "chromeos/network/network_state_handler.h"
22 #include "chromeos/network/shill_property_util.h"
23 #include "content/public/browser/notification_service.h" 22 #include "content/public/browser/notification_service.h"
24 #include "content/public/browser/notification_source.h" 23 #include "content/public/browser/notification_source.h"
25 #include "content/public/test/test_utils.h" 24 #include "content/public/test/test_utils.h"
26 #include "testing/gtest/include/gtest/gtest.h" 25 #include "testing/gtest/include/gtest/gtest.h"
27 26
28 namespace chromeos { 27 namespace chromeos {
29 28
30 namespace { 29 namespace {
31 30
32 base::FilePath GetTestDemoAppPath() { 31 base::FilePath GetTestDemoAppPath() {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // did launch. 92 // did launch.
94 EXPECT_TRUE(VerifyDemoAppLaunch()); 93 EXPECT_TRUE(VerifyDemoAppLaunch());
95 } 94 }
96 95
97 IN_PROC_BROWSER_TEST_F(DemoAppLauncherTest, NoNetwork) { 96 IN_PROC_BROWSER_TEST_F(DemoAppLauncherTest, NoNetwork) {
98 EXPECT_TRUE(VerifyDemoAppLaunch()); 97 EXPECT_TRUE(VerifyDemoAppLaunch());
99 EXPECT_TRUE(VerifyNetworksDisabled()); 98 EXPECT_TRUE(VerifyNetworksDisabled());
100 } 99 }
101 100
102 } // namespace chromeos 101 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/demo_mode/demo_app_launcher.cc ('k') | chrome/browser/chromeos/login/helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698