Chromium Code Reviews| 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) { |