OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 "chrome/browser/extensions/api/cloud_print_private/cloud_print_private_
api.h" | 5 #include "chrome/browser/extensions/api/cloud_print_private/cloud_print_private_
api.h" |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "base/strings/stringprintf.h" | |
9 #include "build/build_config.h" | 8 #include "build/build_config.h" |
10 #include "chrome/browser/extensions/extension_apitest.h" | 9 #include "chrome/browser/extensions/extension_apitest.h" |
11 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
12 #include "chrome/browser/ui/browser.h" | 11 #include "chrome/browser/ui/browser.h" |
13 #include "chrome/common/extensions/api/cloud_print_private.h" | 12 #include "chrome/common/extensions/api/cloud_print_private.h" |
14 #include "components/cloud_devices/common/cloud_devices_switches.h" | 13 #include "components/cloud_devices/common/cloud_devices_switches.h" |
15 #include "net/dns/mock_host_resolver.h" | 14 #include "net/dns/mock_host_resolver.h" |
16 #include "net/test/embedded_test_server/embedded_test_server.h" | 15 #include "net/test/embedded_test_server/embedded_test_server.h" |
17 #include "testing/gmock/include/gmock/gmock.h" | 16 #include "testing/gmock/include/gmock/gmock.h" |
18 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 } | 120 } |
122 | 121 |
123 IN_PROC_BROWSER_TEST_F(ExtensionCloudPrintPrivateApiTest, | 122 IN_PROC_BROWSER_TEST_F(ExtensionCloudPrintPrivateApiTest, |
124 CloudPrintHostedIncognito) { | 123 CloudPrintHostedIncognito) { |
125 GURL page_url = GetTestServerURL( | 124 GURL page_url = GetTestServerURL( |
126 "enable_chrome_connector/cloud_print_incognito_failure_tests.html"); | 125 "enable_chrome_connector/cloud_print_incognito_failure_tests.html"); |
127 ASSERT_TRUE(RunPageTest(page_url.spec(), kFlagUseIncognito)); | 126 ASSERT_TRUE(RunPageTest(page_url.spec(), kFlagUseIncognito)); |
128 } | 127 } |
129 | 128 |
130 #endif // !defined(OS_CHROMEOS) | 129 #endif // !defined(OS_CHROMEOS) |
OLD | NEW |