OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "app/gfx/native_widget_types.h" |
5 #include "base/file_path.h" | 6 #include "base/file_path.h" |
6 #include "base/gfx/native_widget_types.h" | |
7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
8 #include "base/sys_info.h" | 8 #include "base/sys_info.h" |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 #include "chrome/app/chrome_dll_resource.h" | 10 #include "chrome/app/chrome_dll_resource.h" |
11 #include "chrome/common/chrome_switches.h" | 11 #include "chrome/common/chrome_switches.h" |
12 #include "chrome/common/chrome_constants.h" | 12 #include "chrome/common/chrome_constants.h" |
13 #include "chrome/common/platform_util.h" | 13 #include "chrome/common/platform_util.h" |
14 #include "chrome/common/pref_names.h" | 14 #include "chrome/common/pref_names.h" |
15 #include "chrome/test/automation/browser_proxy.h" | 15 #include "chrome/test/automation/browser_proxy.h" |
16 #include "chrome/test/automation/tab_proxy.h" | 16 #include "chrome/test/automation/tab_proxy.h" |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 | 282 |
283 GURL url = net::FilePathToFileURL(test_file); | 283 GURL url = net::FilePathToFileURL(test_file); |
284 ASSERT_TRUE(tab->NavigateToURL(url)); | 284 ASSERT_TRUE(tab->NavigateToURL(url)); |
285 | 285 |
286 std::string value = WaitUntilCookieNonEmpty(tab.get(), url, | 286 std::string value = WaitUntilCookieNonEmpty(tab.get(), url, |
287 "status", kTestIntervalMs, kTestWaitTimeoutMs); | 287 "status", kTestIntervalMs, kTestWaitTimeoutMs); |
288 ASSERT_STREQ("Disallowed", value.c_str()); | 288 ASSERT_STREQ("Disallowed", value.c_str()); |
289 } | 289 } |
290 | 290 |
291 } // namespace | 291 } // namespace |
OLD | NEW |