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

Side by Side Diff: components/suggestions/blacklist_store.cc

Issue 1178683009: Change histogram.h includes to histogram_macros.h in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/suggestions/blacklist_store.h" 5 #include "components/suggestions/blacklist_store.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/base64.h" 11 #include "base/base64.h"
12 #include "base/metrics/histogram.h" 12 #include "base/metrics/histogram_macros.h"
13 #include "base/prefs/pref_service.h" 13 #include "base/prefs/pref_service.h"
14 #include "components/pref_registry/pref_registry_syncable.h" 14 #include "components/pref_registry/pref_registry_syncable.h"
15 #include "components/suggestions/suggestions_pref_names.h" 15 #include "components/suggestions/suggestions_pref_names.h"
16 16
17 using base::TimeDelta; 17 using base::TimeDelta;
18 using base::TimeTicks; 18 using base::TimeTicks;
19 19
20 namespace suggestions { 20 namespace suggestions {
21 namespace { 21 namespace {
22 22
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 253
254 pref_service_->SetString(prefs::kSuggestionsBlacklist, base64_blacklist_data); 254 pref_service_->SetString(prefs::kSuggestionsBlacklist, base64_blacklist_data);
255 return true; 255 return true;
256 } 256 }
257 257
258 void BlacklistStore::ClearBlacklist() { 258 void BlacklistStore::ClearBlacklist() {
259 pref_service_->ClearPref(prefs::kSuggestionsBlacklist); 259 pref_service_->ClearPref(prefs::kSuggestionsBlacklist);
260 } 260 }
261 261
262 } // namespace suggestions 262 } // namespace suggestions
OLDNEW
« no previous file with comments | « components/storage_monitor/media_storage_util.cc ('k') | components/suggestions/suggestions_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698