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

Side by Side Diff: chrome/browser/external_extension_browsertest.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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 <stddef.h>
6
5 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/macros.h"
6 #include "base/prefs/pref_service.h" 9 #include "base/prefs/pref_service.h"
7 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
8 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "build/build_config.h"
9 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/ui/browser.h" 14 #include "chrome/browser/ui/browser.h"
11 #include "chrome/browser/ui/tabs/tab_strip_model.h" 15 #include "chrome/browser/ui/tabs/tab_strip_model.h"
12 #include "chrome/common/chrome_switches.h" 16 #include "chrome/common/chrome_switches.h"
13 #include "chrome/test/base/in_process_browser_test.h" 17 #include "chrome/test/base/in_process_browser_test.h"
14 #include "chrome/test/base/ui_test_utils.h" 18 #include "chrome/test/base/ui_test_utils.h"
15 #include "components/google/core/browser/google_switches.h" 19 #include "components/google/core/browser/google_switches.h"
16 #include "components/search_engines/search_engines_pref_names.h" 20 #include "components/search_engines/search_engines_pref_names.h"
17 #include "content/public/browser/web_contents.h" 21 #include "content/public/browser/web_contents.h"
18 #include "content/public/common/url_constants.h" 22 #include "content/public/common/url_constants.h"
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 IN_PROC_BROWSER_TEST_F(SearchProviderTest, 156 IN_PROC_BROWSER_TEST_F(SearchProviderTest,
153 TestIsSearchProviderInstalledWithException) { 157 TestIsSearchProviderInstalledWithException) {
154 // Change the url for the test page to one that throws an exception when 158 // Change the url for the test page to one that throws an exception when
155 // toString is called on the argument given to isSearchProviderInstalled. 159 // toString is called on the argument given to isSearchProviderInstalled.
156 search_provider_test_url_ = embedded_test_server()->GetURL( 160 search_provider_test_url_ = embedded_test_server()->GetURL(
157 "/is_search_provider_installed_with_exception.html"); 161 "/is_search_provider_installed_with_exception.html");
158 162
159 FinishIsSearchProviderInstalledTest(StartIsSearchProviderInstalledTest( 163 FinishIsSearchProviderInstalledTest(StartIsSearchProviderInstalledTest(
160 browser(), "www.google.com", "")); 164 browser(), "www.google.com", ""));
161 } 165 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698