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

Unified Diff: chrome/browser/search/most_visited_iframe_source.cc

Issue 426093002: Adds support for thumbnail click pings for Most Visited (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Only ping for server suggestions Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/local_ntp/most_visited_util.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/most_visited_iframe_source.cc
diff --git a/chrome/browser/search/most_visited_iframe_source.cc b/chrome/browser/search/most_visited_iframe_source.cc
index 56311e41cb2b177bd42220edc7eb7caf8e411b21..c76c3b6af5a49fa8c5125dab0e890949f529a12b 100644
--- a/chrome/browser/search/most_visited_iframe_source.cc
+++ b/chrome/browser/search/most_visited_iframe_source.cc
@@ -61,7 +61,8 @@ void MostVisitedIframeSource::StartDataRequest(
SendJSWithOrigin(IDR_MOST_VISITED_THUMBNAIL_JS, render_process_id,
render_frame_id, callback);
} else if (path == kUtilJSPath) {
- SendResource(IDR_MOST_VISITED_UTIL_JS, callback);
+ SendJSWithOrigin(IDR_MOST_VISITED_UTIL_JS, render_process_id,
+ render_frame_id, callback);
} else if (path == kCommonCSSPath) {
SendResource(IDR_MOST_VISITED_IFRAME_CSS, callback);
} else {
« no previous file with comments | « chrome/browser/resources/local_ntp/most_visited_util.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698