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

Unified Diff: chrome/renderer/extensions/webstore_bindings.h

Issue 384823002: Introduce a stable set of errors for inline install (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/renderer/extensions/webstore_bindings.h
diff --git a/chrome/renderer/extensions/webstore_bindings.h b/chrome/renderer/extensions/webstore_bindings.h
index 6eda8c080862adc605214f264e6cb1e7e422e159..c74c90cb75632be73049cd5bd577d553d6387683 100644
--- a/chrome/renderer/extensions/webstore_bindings.h
+++ b/chrome/renderer/extensions/webstore_bindings.h
@@ -6,6 +6,7 @@
#define CHROME_RENDERER_EXTENSIONS_WEBSTORE_BINDINGS_H_
#include "base/compiler_specific.h"
+#include "chrome/common/extensions/webstore_install_result.h"
#include "chrome/renderer/extensions/chrome_v8_extension_handler.h"
#include "extensions/renderer/object_backed_native_handler.h"
#include "third_party/WebKit/public/web/WebFrame.h"
@@ -26,8 +27,10 @@ class WebstoreBindings : public ObjectBackedNativeHandler,
private:
void Install(const v8::FunctionCallbackInfo<v8::Value>& args);
- void OnInlineWebstoreInstallResponse(
- int install_id, bool success, const std::string& error);
+ void OnInlineWebstoreInstallResponse(int install_id,
+ bool success,
+ const std::string& error,
+ webstore_install::Result result);
void OnInlineInstallStageChanged(int stage);

Powered by Google App Engine
This is Rietveld 408576698