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

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: updated 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 "base/command_line.h"
6 #include "chrome/browser/extensions/extension_apitest.h"
7 #include "chrome/test/base/test_switches.h"
8
9 // Flaky on ChromeOS, times out on OSX Debug http://crbug.com/251199
10 #if defined(OS_CHROMEOS) || (defined(OS_MACOSX) && !defined(NDEBUG))
11 #define MAYBE_SessionRestoreApis DISABLED_SessionRestoreApis
12 #else
13 #define MAYBE_SessionRestoreApis SessionRestoreApis
14 #endif
15 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_SessionRestoreApis) {
16 #if defined(OS_WIN) && defined(USE_ASH)
17 // Disable this test in Metro+Ash for now (http://crbug.com/262796).
18 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests))
19 return;
20 #endif
21
22 ASSERT_TRUE(RunExtensionSubtest("session_restore",
23 "session_restore.html")) << message_;
24 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698