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

Side by Side Diff: chrome/browser/ui/webui/ntp/most_visited_handler.cc

Issue 9028009: base::Bind: Remove callback_old.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Actually remove callback_old.h Created 8 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/webui/ntp/most_visited_handler.h" 5 #include "chrome/browser/ui/webui/ntp/most_visited_handler.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/callback_old.h"
12 #include "base/command_line.h" 11 #include "base/command_line.h"
13 #include "base/md5.h" 12 #include "base/md5.h"
14 #include "base/memory/scoped_vector.h" 13 #include "base/memory/scoped_vector.h"
15 #include "base/memory/singleton.h" 14 #include "base/memory/singleton.h"
16 #include "base/string16.h" 15 #include "base/string16.h"
17 #include "base/string_number_conversions.h" 16 #include "base/string_number_conversions.h"
18 #include "base/threading/thread.h" 17 #include "base/threading/thread.h"
19 #include "base/utf_string_conversions.h" 18 #include "base/utf_string_conversions.h"
20 #include "base/values.h" 19 #include "base/values.h"
21 #include "chrome/browser/history/page_usage_data.h" 20 #include "chrome/browser/history/page_usage_data.h"
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 } 206 }
208 207
209 // static 208 // static
210 void MostVisitedHandler::RegisterUserPrefs(PrefService* prefs) { 209 void MostVisitedHandler::RegisterUserPrefs(PrefService* prefs) {
211 prefs->RegisterDictionaryPref(prefs::kNTPMostVisitedURLsBlacklist, 210 prefs->RegisterDictionaryPref(prefs::kNTPMostVisitedURLsBlacklist,
212 PrefService::UNSYNCABLE_PREF); 211 PrefService::UNSYNCABLE_PREF);
213 // TODO(estade): remove this. 212 // TODO(estade): remove this.
214 prefs->RegisterDictionaryPref(prefs::kNTPMostVisitedPinnedURLs, 213 prefs->RegisterDictionaryPref(prefs::kNTPMostVisitedPinnedURLs,
215 PrefService::UNSYNCABLE_PREF); 214 PrefService::UNSYNCABLE_PREF);
216 } 215 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/ntp/app_launcher_handler.cc ('k') | chrome/renderer/autofill/form_autofill_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698