// Copyright 2013 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/message_loop/message_loop.h"
#include "chrome/browser/extensions/api/feedback_private/feedback_private_api.h"
#include "chrome/browser/extensions/extension_apitest.h"

namespace extensions {

class FeedbackApiTest: public ExtensionApiTest {
 public:
  FeedbackApiTest() {}
  virtual ~FeedbackApiTest() {}
};

// Fails on Linux/Win.  http://crbug.com/408917
#if defined(OS_WIN) || defined(OS_LINUX)
#define MAYBE_Basic DISABLED_Basic
#else
#define MAYBE_Basic Basic
#endif

IN_PROC_BROWSER_TEST_F(FeedbackApiTest, MAYBE_Basic) {
  EXPECT_TRUE(RunExtensionTest("feedback_private/basic")) << message_;
}

} // namespace extensions

// Copyright 2013 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/message_loop/message_loop.h"
#include "chrome/browser/extensions/api/feedback_private/feedback_private_api.h"
#include "chrome/browser/extensions/extension_apitest.h"

namespace extensions {

class FeedbackApiTest: public ExtensionApiTest {
 public:
  FeedbackApiTest() {}
  virtual ~FeedbackApiTest() {}
};

IN_PROC_BROWSER_TEST_F(FeedbackApiTest, Basic) {
  EXPECT_TRUE(RunExtensionTest("feedback_private/basic")) << message_;
}

} // namespace extensions

--- 
+++ 
@@ -14,7 +14,14 @@
   virtual ~FeedbackApiTest() {}
 };
 
-IN_PROC_BROWSER_TEST_F(FeedbackApiTest, Basic) {
+// Fails on Linux/Win.  http://crbug.com/408917
+#if defined(OS_WIN) || defined(OS_LINUX)
+#define MAYBE_Basic DISABLED_Basic
+#else
+#define MAYBE_Basic Basic
+#endif
+
+IN_PROC_BROWSER_TEST_F(FeedbackApiTest, MAYBE_Basic) {
   EXPECT_TRUE(RunExtensionTest("feedback_private/basic")) << message_;
 }
 
Disable FeedbackApiTest.Basic on Win & Linux

The test fails on some Win and Linux bots, more info on the bug.

BUG=408917
NOTREECHECKS=true
NOTRY=true
TBR=rkc@chromium.org

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

Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#292585}
