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

Unified Diff: chrome/browser/extensions/api/history/history_api.cc

Issue 16915006: Convert most of extensions and some other random stuff to using the base namespace for Values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/history/history_api.cc
diff --git a/chrome/browser/extensions/api/history/history_api.cc b/chrome/browser/extensions/api/history/history_api.cc
index 474db653db8cc4f21ef3cebf24f7cde3d7531eb3..5cc419f6561d1beeca016ead561129ae9ae7c525 100644
--- a/chrome/browser/extensions/api/history/history_api.cc
+++ b/chrome/browser/extensions/api/history/history_api.cc
@@ -168,7 +168,7 @@ void HistoryEventRouter::HistoryUrlVisited(
Profile* profile,
const history::URLVisitedDetails* details) {
scoped_ptr<HistoryItem> history_item = GetHistoryItem(details->row);
- scoped_ptr<ListValue> args = OnVisited::Create(*history_item);
+ scoped_ptr<base::ListValue> args = OnVisited::Create(*history_item);
DispatchEvent(profile, kOnVisited, args.Pass());
}
@@ -186,14 +186,14 @@ void HistoryEventRouter::HistoryUrlsRemoved(
}
removed.urls.reset(urls);
- scoped_ptr<ListValue> args = OnVisitRemoved::Create(removed);
+ scoped_ptr<base::ListValue> args = OnVisitRemoved::Create(removed);
DispatchEvent(profile, kOnVisitRemoved, args.Pass());
}
void HistoryEventRouter::DispatchEvent(
Profile* profile,
const char* event_name,
- scoped_ptr<ListValue> event_args) {
+ scoped_ptr<base::ListValue> event_args) {
if (profile && extensions::ExtensionSystem::Get(profile)->event_router()) {
scoped_ptr<extensions::Event> event(new extensions::Event(
event_name, event_args.Pass()));

Powered by Google App Engine
This is Rietveld 408576698