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

Side by Side Diff: chrome/browser/extensions/api/system_indicator/system_indicator_apitest.cc

Issue 11361189: Initial skeleton for System Indicator API (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add menu handling stubs, address formatting issues Created 8 years, 1 month 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/command_line.h" 5 #include "base/command_line.h"
6 #include "chrome/browser/extensions/extension_apitest.h" 6 #include "chrome/browser/extensions/extension_apitest.h"
7 #include "chrome/common/chrome_switches.h" 7 #include "chrome/common/chrome_switches.h"
8 8
9 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, ShadowDom) { 9 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, SystemIndicator) {
10 // Shadow DOM is exposed to extensions with the experimental permission only.
11 CommandLine::ForCurrentProcess()->AppendSwitch( 10 CommandLine::ForCurrentProcess()->AppendSwitch(
12 switches::kEnableExperimentalExtensionApis); 11 switches::kEnableExperimentalExtensionApis);
13 12 ASSERT_TRUE(RunExtensionTest("system_indicator")) << message_;
14 ASSERT_TRUE(RunExtensionTest("shadow_dom")) << message_;
15 } 13 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698