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

Unified Diff: chrome/browser/extensions/api/page_capture/page_capture_api.h

Issue 10806072: Refactor chrome.pageCapture to use JSON schema compiler (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/page_capture/page_capture_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/page_capture/page_capture_api.h
diff --git a/chrome/browser/extensions/api/page_capture/page_capture_api.h b/chrome/browser/extensions/api/page_capture/page_capture_api.h
index cb9f518ef5670b2f48d6d57c333f0126de4ab058..989dced56158a4fac3fe858cffcbe317008865cc 100644
--- a/chrome/browser/extensions/api/page_capture/page_capture_api.h
+++ b/chrome/browser/extensions/api/page_capture/page_capture_api.h
@@ -9,6 +9,7 @@
#include "base/memory/ref_counted.h"
#include "chrome/browser/extensions/extension_function.h"
+#include "chrome/common/extensions/api/page_capture.h"
#include "webkit/blob/shareable_file_reference.h"
class FilePath;
@@ -52,7 +53,7 @@ class PageCaptureSaveAsMHTMLFunction : public AsyncExtensionFunction {
// Returns the WebContents we are associated with, NULL if it's been closed.
content::WebContents* GetWebContents();
- int tab_id_;
+ scoped_ptr<extensions::api::page_capture::SaveAsMHTML::Params> params_;
// The path to the temporary file containing the MHTML data.
FilePath mhtml_path_;
« no previous file with comments | « no previous file | chrome/browser/extensions/api/page_capture/page_capture_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698