OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chrome/browser/extensions/extension_apitest.h" | |
6 | |
7 #if defined(OS_WIN) && defined(USE_ASH) | |
8 #include "base/win/windows_version.h" | |
9 #endif | |
10 | |
11 // Flaky on ChromeOS, times out on OSX Debug http://crbug.com/251199 | |
12 #if defined(OS_CHROMEOS) || (defined(OS_MACOSX) && !defined(NDEBUG)) | |
13 #define MAYBE_SessionRestoreApis DISABLED_SessionRestoreApis | |
14 #else | |
15 #define MAYBE_SessionRestoreApis SessionRestoreApis | |
16 #endif | |
17 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_SessionRestoreApis) { | |
18 #if defined(OS_WIN) && defined(USE_ASH) | |
19 // Disable this test in Metro+Ash for now (http://crbug.com/262796). | |
20 if (base::win::GetVersion() >= base::win::VERSION_WIN8) | |
21 return; | |
22 #endif | |
23 | |
24 ASSERT_TRUE(RunExtensionSubtest("session_restore", | |
25 "session_restore.html")) << message_; | |
26 } | |
OLD | NEW |