// 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 "chrome/browser/extensions/extension_apitest.h"

// Flaky on ChromeOS http://crbug.com/251199
#if defined(OS_CHROMEOS)
#define MAYBE_SessionRestoreApis DISABLED_SessionRestoreApis
#else
#define MAYBE_SessionRestoreApis SessionRestoreApis
#endif
IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_SessionRestoreApis) {
  ASSERT_TRUE(RunExtensionSubtest("session_restore",
                                  "session_restore.html")) << message_;
}

// 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 "chrome/browser/extensions/extension_apitest.h"

IN_PROC_BROWSER_TEST_F(ExtensionApiTest, SessionRestoreApis) {
  ASSERT_TRUE(RunExtensionSubtest("session_restore",
                                  "session_restore.html")) << message_;
}

--- 
+++ 
@@ -4,7 +4,13 @@
 
 #include "chrome/browser/extensions/extension_apitest.h"
 
-IN_PROC_BROWSER_TEST_F(ExtensionApiTest, SessionRestoreApis) {
+// Flaky on ChromeOS http://crbug.com/251199
+#if defined(OS_CHROMEOS)
+#define MAYBE_SessionRestoreApis DISABLED_SessionRestoreApis
+#else
+#define MAYBE_SessionRestoreApis SessionRestoreApis
+#endif
+IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_SessionRestoreApis) {
   ASSERT_TRUE(RunExtensionSubtest("session_restore",
                                   "session_restore.html")) << message_;
 }
Mark SessionRestoureApis as flaky on chromium os

BUG=251199
TBR=kalman@chromium.org

Review URL: https://codereview.chromium.org/17385002

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@206918 0039d316-1c4b-4281-b951-d872f2087c98
