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

Side by Side Diff: chrome/browser/extensions/api/session_restore/session_restore_apitest.cc

Issue 21022018: Sessions API - previously Session Restore API. Supports restoring currently open foreign windows an… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added assert true to test Created 7 years, 4 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
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698