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

Unified Diff: chrome/browser/ui/webui/ntp/most_visited_handler.h

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/ntp/most_visited_handler.h
===================================================================
--- chrome/browser/ui/webui/ntp/most_visited_handler.h (revision 92173)
+++ chrome/browser/ui/webui/ntp/most_visited_handler.h (working copy)
@@ -16,10 +16,13 @@
#include "content/common/notification_registrar.h"
class GURL;
-class ListValue;
class PageUsageData;
class PrefService;
+
+namespace base {
+class ListValue;
class Value;
+}
// The handler for Javascript messages related to the "most visited" view.
//
@@ -43,22 +46,22 @@
virtual void RegisterMessages();
// Callback for the "getMostVisited" message.
- void HandleGetMostVisited(const ListValue* args);
+ void HandleGetMostVisited(const base::ListValue* args);
// Callback for the "blacklistURLFromMostVisited" message.
- void HandleBlacklistURL(const ListValue* args);
+ void HandleBlacklistURL(const base::ListValue* args);
// Callback for the "removeURLsFromMostVisitedBlacklist" message.
- void HandleRemoveURLsFromBlacklist(const ListValue* args);
+ void HandleRemoveURLsFromBlacklist(const base::ListValue* args);
// Callback for the "clearMostVisitedURLsBlacklist" message.
- void HandleClearBlacklist(const ListValue* args);
+ void HandleClearBlacklist(const base::ListValue* args);
// Callback for the "addPinnedURL" message.
- void HandleAddPinnedURL(const ListValue* args);
+ void HandleAddPinnedURL(const base::ListValue* args);
// Callback for the "removePinnedURL" message.
- void HandleRemovePinnedURL(const ListValue* args);
+ void HandleRemovePinnedURL(const base::ListValue* args);
// NotificationObserver implementation.
virtual void Observe(int type,
@@ -125,7 +128,7 @@
bool got_first_most_visited_request_;
// Keep the results of the db query here.
- scoped_ptr<ListValue> pages_value_;
+ scoped_ptr<base::ListValue> pages_value_;
DISALLOW_COPY_AND_ASSIGN(MostVisitedHandler);
};
« no previous file with comments | « chrome/browser/ui/webui/ntp/favicon_webui_handler.h ('k') | chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698