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

Side by Side Diff: chrome/browser/extensions/app_background_page_apitest.cc

Issue 5089001: Cleanup: Include browser.h -> ui/browser.h [Part 3]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes. Created 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/string_util.h" 5 #include "base/string_util.h"
6 #include "chrome/browser/browser.h"
7 #include "chrome/browser/extensions/extension_apitest.h" 6 #include "chrome/browser/extensions/extension_apitest.h"
7 #include "chrome/browser/ui/browser.h"
8 #include "chrome/common/chrome_switches.h" 8 #include "chrome/common/chrome_switches.h"
9 #include "chrome/test/ui_test_utils.h" 9 #include "chrome/test/ui_test_utils.h"
10 #include "net/base/mock_host_resolver.h" 10 #include "net/base/mock_host_resolver.h"
11 11
12 class AppBackgroundPageApiTest : public ExtensionApiTest { 12 class AppBackgroundPageApiTest : public ExtensionApiTest {
13 public: 13 public:
14 void SetUpCommandLine(CommandLine* command_line) { 14 void SetUpCommandLine(CommandLine* command_line) {
15 ExtensionApiTest::SetUpCommandLine(command_line); 15 ExtensionApiTest::SetUpCommandLine(command_line);
16 command_line->AppendSwitch(switches::kDisablePopupBlocking); 16 command_line->AppendSwitch(switches::kDisablePopupBlocking);
17 } 17 }
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 " }" 83 " }"
84 "}", 84 "}",
85 test_server()->host_port_pair().port()); 85 test_server()->host_port_pair().port());
86 86
87 FilePath app_dir; 87 FilePath app_dir;
88 ASSERT_TRUE(CreateApp(app_manifest, &app_dir)); 88 ASSERT_TRUE(CreateApp(app_manifest, &app_dir));
89 ASSERT_TRUE(LoadExtension(app_dir)); 89 ASSERT_TRUE(LoadExtension(app_dir));
90 ASSERT_TRUE(RunExtensionTest("app_background_page/lacks_permission")) 90 ASSERT_TRUE(RunExtensionTest("app_background_page/lacks_permission"))
91 << message_; 91 << message_;
92 } 92 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/all_urls_apitest.cc ('k') | chrome/browser/extensions/app_process_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698