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

Side by Side Diff: chrome/browser/search/most_visited_iframe_source.cc

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 years, 1 month 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/search/most_visited_iframe_source.h" 5 #include "chrome/browser/search/most_visited_iframe_source.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/memory/ref_counted_memory.h" 8 #include "base/memory/ref_counted_memory.h"
9 #include "base/metrics/histogram_macros.h" 9 #include "base/metrics/histogram_macros.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/stringprintf.h"
12 #include "build/build_config.h" 11 #include "build/build_config.h"
13 #include "chrome/browser/search/local_files_ntp_source.h" 12 #include "chrome/browser/search/local_files_ntp_source.h"
14 #include "chrome/common/chrome_switches.h" 13 #include "chrome/common/chrome_switches.h"
15 #include "chrome/common/url_constants.h" 14 #include "chrome/common/url_constants.h"
16 #include "chrome/grit/browser_resources.h" 15 #include "chrome/grit/browser_resources.h"
17 #include "content/public/browser/user_metrics.h" 16 #include "content/public/browser/user_metrics.h"
18 #include "net/base/url_util.h" 17 #include "net/base/url_util.h"
19 #include "url/gurl.h" 18 #include "url/gurl.h"
20 19
21 namespace { 20 namespace {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 } 95 }
97 } 96 }
98 97
99 bool MostVisitedIframeSource::ServesPath(const std::string& path) const { 98 bool MostVisitedIframeSource::ServesPath(const std::string& path) const {
100 return path == kTitleHTMLPath || path == kTitleCSSPath || 99 return path == kTitleHTMLPath || path == kTitleCSSPath ||
101 path == kTitleJSPath || path == kThumbnailHTMLPath || 100 path == kTitleJSPath || path == kThumbnailHTMLPath ||
102 path == kThumbnailCSSPath || path == kThumbnailJSPath || 101 path == kThumbnailCSSPath || path == kThumbnailJSPath ||
103 path == kSingleHTMLPath || path == kSingleCSSPath || 102 path == kSingleHTMLPath || path == kSingleCSSPath ||
104 path == kSingleJSPath || path == kUtilJSPath || path == kCommonCSSPath; 103 path == kSingleJSPath || path == kUtilJSPath || path == kCommonCSSPath;
105 } 104 }
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_util.cc ('k') | chrome/browser/search_engines/template_url_service_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698