OLD | NEW |
1 // Copyright (c) 2012 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/suggestions_page_handler.h" | 5 #include "chrome/browser/ui/webui/ntp/suggestions_page_handler.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 | 185 |
186 void SuggestionsHandler::BlacklistURL(const GURL& url) { | 186 void SuggestionsHandler::BlacklistURL(const GURL& url) { |
187 // TODO(georgey) blacklist an URL. | 187 // TODO(georgey) blacklist an URL. |
188 } | 188 } |
189 | 189 |
190 std::string SuggestionsHandler::GetDictionaryKeyForURL(const std::string& url) { | 190 std::string SuggestionsHandler::GetDictionaryKeyForURL(const std::string& url) { |
191 return base::MD5String(url); | 191 return base::MD5String(url); |
192 } | 192 } |
193 | 193 |
194 // static | 194 // static |
195 void SuggestionsHandler::RegisterUserPrefs(PrefService* prefs) { | 195 void SuggestionsHandler::RegisterUserPrefs(PrefServiceSyncable* prefs) { |
196 // TODO(georgey) add user preferences (such as own blacklist) as needed. | 196 // TODO(georgey) add user preferences (such as own blacklist) as needed. |
197 } | 197 } |
OLD | NEW |