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

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

Issue 2299993004: Migrate chrome/browser files to histogram_macros.h includes. (Closed)
Patch Set: Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/search/hotword_service.cc ('k') | chrome/browser/search/search.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.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" 11 #include "base/strings/stringprintf.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "chrome/browser/search/local_files_ntp_source.h" 13 #include "chrome/browser/search/local_files_ntp_source.h"
14 #include "chrome/common/chrome_switches.h" 14 #include "chrome/common/chrome_switches.h"
15 #include "chrome/common/url_constants.h" 15 #include "chrome/common/url_constants.h"
16 #include "chrome/grit/browser_resources.h" 16 #include "chrome/grit/browser_resources.h"
17 #include "content/public/browser/user_metrics.h" 17 #include "content/public/browser/user_metrics.h"
18 #include "net/base/url_util.h" 18 #include "net/base/url_util.h"
19 #include "url/gurl.h" 19 #include "url/gurl.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 } 100 }
101 } 101 }
102 102
103 bool MostVisitedIframeSource::ServesPath(const std::string& path) const { 103 bool MostVisitedIframeSource::ServesPath(const std::string& path) const {
104 return path == kTitleHTMLPath || path == kTitleCSSPath || 104 return path == kTitleHTMLPath || path == kTitleCSSPath ||
105 path == kTitleJSPath || path == kThumbnailHTMLPath || 105 path == kTitleJSPath || path == kThumbnailHTMLPath ||
106 path == kThumbnailCSSPath || path == kThumbnailJSPath || 106 path == kThumbnailCSSPath || path == kThumbnailJSPath ||
107 path == kSingleHTMLPath || path == kSingleCSSPath || 107 path == kSingleHTMLPath || path == kSingleCSSPath ||
108 path == kSingleJSPath || path == kUtilJSPath || path == kCommonCSSPath; 108 path == kSingleJSPath || path == kUtilJSPath || path == kCommonCSSPath;
109 } 109 }
OLDNEW
« no previous file with comments | « chrome/browser/search/hotword_service.cc ('k') | chrome/browser/search/search.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698