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

Side by Side Diff: chrome/browser/extensions/api/autotest_private/autotest_private_apitest.cc

Issue 13520005: autotestPrivate.loginStatus returns a dictionary instead of a string. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
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 "chrome/browser/extensions/api/autotest_private/autotest_private_api.h" 5 #include "chrome/browser/extensions/api/autotest_private/autotest_private_api.h"
6 #include "chrome/browser/extensions/api/autotest_private/autotest_private_api_fa ctory.h" 6 #include "chrome/browser/extensions/api/autotest_private/autotest_private_api_fa ctory.h"
7 #include "chrome/browser/extensions/extension_apitest.h" 7 #include "chrome/browser/extensions/extension_apitest.h"
8 8
9 // Times out on win asan, http://crbug.com/166026 9 #if defined(OS_CHROMEOS)
10 #if defined(OS_WIN) && defined(ADDRESS_SANITIZER) 10 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, AutotestPrivate) {
11 #define MAYBE_AutotestPrivate DISABLED_AutotestPrivate
12 #else
13 #define MAYBE_AutotestPrivate AutotestPrivate
14 #endif
15 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_AutotestPrivate) {
16 // Turn on testing mode so we don't kill the browser. 11 // Turn on testing mode so we don't kill the browser.
17 extensions::AutotestPrivateAPIFactory::GetForProfile( 12 extensions::AutotestPrivateAPIFactory::GetForProfile(
18 browser()->profile())->set_test_mode(true); 13 browser()->profile())->set_test_mode(true);
19 ASSERT_TRUE(RunComponentExtensionTest("autotest_private")) << message_; 14 ASSERT_TRUE(RunComponentExtensionTest("autotest_private")) << message_;
20 } 15 }
16 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698