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

Unified 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: sync 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/session_restore/session_restore_apitest.cc
diff --git a/chrome/browser/extensions/api/session_restore/session_restore_apitest.cc b/chrome/browser/extensions/api/session_restore/session_restore_apitest.cc
deleted file mode 100644
index 0836d84c5c89b3e404e1a04e91c6054e5840b1a7..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/api/session_restore/session_restore_apitest.cc
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "base/command_line.h"
-#include "chrome/browser/extensions/extension_apitest.h"
-#include "chrome/test/base/test_switches.h"
-
-// Flaky on ChromeOS, times out on OSX Debug http://crbug.com/251199
-#if defined(OS_CHROMEOS) || (defined(OS_MACOSX) && !defined(NDEBUG))
-#define MAYBE_SessionRestoreApis DISABLED_SessionRestoreApis
-#else
-#define MAYBE_SessionRestoreApis SessionRestoreApis
-#endif
-IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_SessionRestoreApis) {
-#if defined(OS_WIN) && defined(USE_ASH)
- // Disable this test in Metro+Ash for now (http://crbug.com/262796).
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests))
- return;
-#endif
-
- ASSERT_TRUE(RunExtensionSubtest("session_restore",
- "session_restore.html")) << message_;
-}

Powered by Google App Engine
This is Rietveld 408576698