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

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

Issue 15388002: Supporting high dpi favicons in Instant Extended. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moving reusable pieces to chrome/common Created 7 years, 7 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
Index: chrome/browser/search/instant_service.cc
diff --git a/chrome/browser/search/instant_service.cc b/chrome/browser/search/instant_service.cc
index e6db319cb57adf2df49f10adc6d2c80b44557534..695847ad4db0d38731b4608b2a9a2b2235ceb1be 100644
--- a/chrome/browser/search/instant_service.cc
+++ b/chrome/browser/search/instant_service.cc
@@ -99,12 +99,7 @@ const std::string InstantService::MaybeTranslateInstantPathOnIO(
// static
bool InstantService::IsInstantPath(const GURL& url) {
- // Strip leading slash.
- std::string path = url.path().substr(1);
-
- // Check that path is of Most Visited item ID form.
- InstantRestrictedID dummy = 0;
- return base::StringToInt(path, &dummy);
+ return true;
}
sreeram 2013/06/04 22:01:56 Why not just delete this method entirely?
pedro (no code reviews) 2013/06/07 23:34:21 Done.
void InstantService::AddInstantProcess(int process_id) {

Powered by Google App Engine
This is Rietveld 408576698