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

Side by Side Diff: chrome/browser/extensions/extension_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 "chrome/browser/extensions/extension_apitest.h" 5 #include "chrome/browser/extensions/extension_apitest.h"
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "base/stringprintf.h" 8 #include "base/stringprintf.h"
9 #include "chrome/browser/browser.h"
10 #include "chrome/browser/extensions/extension_test_api.h" 9 #include "chrome/browser/extensions/extension_test_api.h"
11 #include "chrome/browser/extensions/extensions_service.h" 10 #include "chrome/browser/extensions/extensions_service.h"
12 #include "chrome/browser/profile.h" 11 #include "chrome/browser/profile.h"
12 #include "chrome/browser/ui/browser.h"
13 #include "chrome/common/notification_registrar.h" 13 #include "chrome/common/notification_registrar.h"
14 #include "chrome/test/ui_test_utils.h" 14 #include "chrome/test/ui_test_utils.h"
15 15
16 namespace { 16 namespace {
17 17
18 const char kTestServerPort[] = "testServer.port"; 18 const char kTestServerPort[] = "testServer.port";
19 19
20 }; // namespace 20 }; // namespace
21 21
22 ExtensionApiTest::ResultCatcher::ResultCatcher() 22 ExtensionApiTest::ResultCatcher::ResultCatcher()
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 test_config_->SetInteger(kTestServerPort, 203 test_config_->SetInteger(kTestServerPort,
204 test_server()->host_port_pair().port()); 204 test_server()->host_port_pair().port());
205 205
206 return true; 206 return true;
207 } 207 }
208 208
209 void ExtensionApiTest::SetUpCommandLine(CommandLine* command_line) { 209 void ExtensionApiTest::SetUpCommandLine(CommandLine* command_line) {
210 ExtensionBrowserTest::SetUpCommandLine(command_line); 210 ExtensionBrowserTest::SetUpCommandLine(command_line);
211 test_data_dir_ = test_data_dir_.AppendASCII("api_test"); 211 test_data_dir_ = test_data_dir_.AppendASCII("api_test");
212 } 212 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_accessibility_api.cc ('k') | chrome/browser/extensions/extension_browser_actions_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698