Implement protocol.registerHttpProtocol

This commit is contained in:
Cheng Zhao 2015-08-12 21:09:44 +08:00
parent 1f2d7d1cd8
commit f493eb34ae
6 changed files with 52 additions and 38 deletions

View file

@ -47,9 +47,7 @@ class JsAsker : public RequestJob {
weak_factory_(this) {}
// Subclass should do initailze work here.
virtual void StartAsync(scoped_ptr<base::Value> options) {
RequestJob::Start();
}
virtual void StartAsync(scoped_ptr<base::Value> options) = 0;
private:
// RequestJob: