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

Unified Diff: chrome/browser/extensions/extension_function.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/extension_function.cc
diff --git a/chrome/browser/extensions/extension_function.cc b/chrome/browser/extensions/extension_function.cc
index 484abd7df666a2756eea28271aff92361b098b5d..3e6a39727c01ca347a0de38f8f91f9e2921f1d58 100644
--- a/chrome/browser/extensions/extension_function.cc
+++ b/chrome/browser/extensions/extension_function.cc
@@ -88,7 +88,7 @@ void ExtensionFunction::SetResult(base::Value* result) {
results_->Append(result);
}
-const ListValue* ExtensionFunction::GetResultList() {
+const base::ListValue* ExtensionFunction::GetResultList() {
return results_.get();
}
@@ -128,7 +128,7 @@ void ExtensionFunction::SendResponseImpl(bool success) {
// If results were never set, we send an empty argument list.
if (!results_)
- results_.reset(new ListValue());
+ results_.reset(new base::ListValue());
response_callback_.Run(type, *results_, GetError());
}

Powered by Google App Engine
This is Rietveld 408576698