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

Unified Diff: chrome/browser/oom_priority_manager_browsertest.cc

Issue 8784006: Replace the GURL referrer field of OpenURLParams with a content::Referrer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/external_tab_container_win.cc ('k') | chrome/browser/plugin_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/oom_priority_manager_browsertest.cc
diff --git a/chrome/browser/oom_priority_manager_browsertest.cc b/chrome/browser/oom_priority_manager_browsertest.cc
index 04e6f1d8c2c94950b66046e88ce463050ed5b49a..a2b5f7636f65b51415476634b5c2d18090e84e76 100644
--- a/chrome/browser/oom_priority_manager_browsertest.cc
+++ b/chrome/browser/oom_priority_manager_browsertest.cc
@@ -24,14 +24,14 @@ IN_PROC_BROWSER_TEST_F(OomPriorityManagerTest, OomPriorityManagerBasics) {
WindowedNotificationObserver load1(
content::NOTIFICATION_LOAD_STOP,
content::NotificationService::AllSources());
- OpenURLParams open1(GURL("chrome://about"), GURL(),
+ OpenURLParams open1(GURL("chrome://about"), content::Referrer(),
CURRENT_TAB, content::PAGE_TRANSITION_TYPED, false);
browser()->OpenURL(open1);
WindowedNotificationObserver load2(
content::NOTIFICATION_LOAD_STOP,
content::NotificationService::AllSources());
- OpenURLParams open2(GURL("chrome://credits"), GURL(),
+ OpenURLParams open2(GURL("chrome://credits"), content::Referrer(),
NEW_FOREGROUND_TAB, content::PAGE_TRANSITION_TYPED,
false);
browser()->OpenURL(open2);
@@ -39,7 +39,7 @@ IN_PROC_BROWSER_TEST_F(OomPriorityManagerTest, OomPriorityManagerBasics) {
WindowedNotificationObserver load3(
content::NOTIFICATION_LOAD_STOP,
content::NotificationService::AllSources());
- OpenURLParams open3(GURL("chrome://terms"), GURL(),
+ OpenURLParams open3(GURL("chrome://terms"), content::Referrer(),
NEW_FOREGROUND_TAB, content::PAGE_TRANSITION_TYPED,
false);
browser()->OpenURL(open3);
« no previous file with comments | « chrome/browser/external_tab_container_win.cc ('k') | chrome/browser/plugin_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698