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

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

Issue 19631004: Update include paths in chrome/browser/ for base/process changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge ToT Created 7 years, 5 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 "base/process_util.h"
6 #include "base/strings/sys_string_conversions.h" 5 #include "base/strings/sys_string_conversions.h"
7 #include "base/strings/utf_string_conversions.h" 6 #include "base/strings/utf_string_conversions.h"
8 #include "chrome/browser/extensions/component_loader.h" 7 #include "chrome/browser/extensions/component_loader.h"
9 #include "chrome/browser/extensions/extension_browsertest.h" 8 #include "chrome/browser/extensions/extension_browsertest.h"
10 #include "chrome/browser/ui/browser.h" 9 #include "chrome/browser/ui/browser.h"
11 #include "chrome/browser/ui/browser_window.h" 10 #include "chrome/browser/ui/browser_window.h"
12 #include "chrome/browser/ui/omnibox/location_bar.h" 11 #include "chrome/browser/ui/omnibox/location_bar.h"
13 #include "chrome/browser/ui/omnibox/omnibox_view.h" 12 #include "chrome/browser/ui/omnibox/omnibox_view.h"
14 #include "chrome/browser/ui/tabs/tab_strip_model.h" 13 #include "chrome/browser/ui/tabs/tab_strip_model.h"
15 #include "chrome/common/url_constants.h" 14 #include "chrome/common/url_constants.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 TestExtensionURLOverride(url_with_ref); 126 TestExtensionURLOverride(url_with_ref);
128 } 127 }
129 128
130 IN_PROC_BROWSER_TEST_F(ExtensionURLRewriteBrowserTest, BookmarksURLOverride) { 129 IN_PROC_BROWSER_TEST_F(ExtensionURLRewriteBrowserTest, BookmarksURLOverride) {
131 // Load an extension that overrides chrome://bookmarks. 130 // Load an extension that overrides chrome://bookmarks.
132 ASSERT_TRUE(LoadExtension(GetTestExtensionPath("bookmarks"))); 131 ASSERT_TRUE(LoadExtension(GetTestExtensionPath("bookmarks")));
133 // Navigate to chrome://bookmarks and check that the location bar URL is what 132 // Navigate to chrome://bookmarks and check that the location bar URL is what
134 // was entered and the internal URL uses the chrome-extension:// scheme. 133 // was entered and the internal URL uses the chrome-extension:// scheme.
135 TestExtensionURLOverride(GURL(chrome::kChromeUIBookmarksURL)); 134 TestExtensionURLOverride(GURL(chrome::kChromeUIBookmarksURL));
136 } 135 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698