diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-24 17:03:52 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-24 17:03:52 +0000 |
commit | c583f5f49d0de33a5445999691d859092a6f8c4b (patch) | |
tree | bf169e35027c28296957826f95fc8e988f2dbe84 /chrome/browser/infobars/infobar_extension_apitest.cc | |
parent | cc0ce379dae224a190da6bddb74f82b1169a2ef3 (diff) | |
download | chromium_src-c583f5f49d0de33a5445999691d859092a6f8c4b.zip chromium_src-c583f5f49d0de33a5445999691d859092a6f8c4b.tar.gz chromium_src-c583f5f49d0de33a5445999691d859092a6f8c4b.tar.bz2 |
Move infobar extension API implementation to infobars dir.
We're moving all the extension api implementations out of
browser/extensions into the directory with the code they are
automating.
BUG=101244
Review URL: http://codereview.chromium.org/8374024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106932 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/infobars/infobar_extension_apitest.cc')
-rw-r--r-- | chrome/browser/infobars/infobar_extension_apitest.cc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/chrome/browser/infobars/infobar_extension_apitest.cc b/chrome/browser/infobars/infobar_extension_apitest.cc new file mode 100644 index 0000000..0d7ce74 --- /dev/null +++ b/chrome/browser/infobars/infobar_extension_apitest.cc @@ -0,0 +1,23 @@ +// Copyright (c) 2011 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/common/chrome_switches.h" + +#if defined(TOOLKIT_VIEWS) +#define MAYBE_Infobars Infobars +#else +// Need to finish port to Linux. See http://crbug.com/39916 for details. +// Also disabled on mac. See http://crbug.com/60990. +#define MAYBE_Infobars DISABLED_Infobars +#endif + +IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_Infobars) { + // TODO(finnur): Remove once infobars are no longer experimental (bug 39511). + CommandLine::ForCurrentProcess()->AppendSwitch( + switches::kEnableExperimentalExtensionApis); + + ASSERT_TRUE(RunExtensionTest("infobars")) << message_; +} |