diff options
author | kalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-24 22:55:58 +0000 |
---|---|---|
committer | kalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-24 22:55:58 +0000 |
commit | f4e972d7809c0383fb61593f0376fc13454c031a (patch) | |
tree | 7e478dc1e0d90e9012d64bbfe798eb9060329a4f /extensions/browser/quota_service_unittest.cc | |
parent | cb3d5603827183bb4c02f5d1d6b952019268b880 (diff) | |
download | chromium_src-f4e972d7809c0383fb61593f0376fc13454c031a.zip chromium_src-f4e972d7809c0383fb61593f0376fc13454c031a.tar.gz chromium_src-f4e972d7809c0383fb61593f0376fc13454c031a.tar.bz2 |
Introduce ExtensionFunction::RunImplTypesafe and SendResponseTypesafe,
new type-safe ways of responding to extension requests.
Use them in the Storage API as a proof of concept.
R=rockot@chromium.org
BUG=365732, 366282
Review URL: https://codereview.chromium.org/249713004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266020 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/browser/quota_service_unittest.cc')
-rw-r--r-- | extensions/browser/quota_service_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/browser/quota_service_unittest.cc b/extensions/browser/quota_service_unittest.cc index 04798c2..57b2534 100644 --- a/extensions/browser/quota_service_unittest.cc +++ b/extensions/browser/quota_service_unittest.cc @@ -64,7 +64,7 @@ class MockFunction : public ExtensionFunction { explicit MockFunction(const std::string& name) { set_name(name); } virtual void SetArgs(const base::ListValue* args) OVERRIDE {} - virtual const std::string GetError() OVERRIDE { return std::string(); } + virtual std::string GetError() const OVERRIDE { return std::string(); } virtual void SetError(const std::string& error) OVERRIDE {} virtual void Run() OVERRIDE {} virtual void Destruct() const OVERRIDE { delete this; } |