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

Unified Diff: chrome/browser/chromeos/extensions/info_private_api.h

Issue 11418048: Add copy and assignment to FundamentalValue and StringValue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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/chromeos/extensions/info_private_api.h
diff --git a/chrome/browser/chromeos/extensions/info_private_api.h b/chrome/browser/chromeos/extensions/info_private_api.h
index f1703e71a716b3c42acdec3525bbc320d19cdb6e..0e60a3fbdc14680e8ea35f0b81f29c350ab46f87 100644
--- a/chrome/browser/chromeos/extensions/info_private_api.h
+++ b/chrome/browser/chromeos/extensions/info_private_api.h
@@ -10,6 +10,10 @@
#include "base/compiler_specific.h"
#include "chrome/browser/extensions/extension_function.h"
+namespace base {
+class Value;
+}
+
namespace extensions {
class GetChromeosInfoFunction : public AsyncExtensionFunction {
@@ -22,7 +26,8 @@ class GetChromeosInfoFunction : public AsyncExtensionFunction {
virtual bool RunImpl() OVERRIDE;
private:
- bool GetValue(const std::string& property_name, Value** value);
+ // Returns a newly allocate value, or null.
+ base::Value* GetValue(const std::string& property_name);
DECLARE_EXTENSION_FUNCTION_NAME("chromeosInfoPrivate.get");
};
« no previous file with comments | « chrome/browser/chromeos/extensions/file_manager_util.cc ('k') | chrome/browser/chromeos/extensions/info_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698