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

Unified Diff: chrome/browser/extensions/extension_page_capture_api.h

Issue 8682013: Moving the MHTML API out of experimental and renaming it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: One more sync Created 9 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/extensions/extension_page_capture_api.h
diff --git a/chrome/browser/extensions/extension_save_page_api.h b/chrome/browser/extensions/extension_page_capture_api.h
similarity index 79%
rename from chrome/browser/extensions/extension_save_page_api.h
rename to chrome/browser/extensions/extension_page_capture_api.h
index fc7ce9afd4d6a2f9da2cc1a43ab3000e581fbc37..00fde76ec12e96d2b15b21337eecb8ee87c123a1 100644
--- a/chrome/browser/extensions/extension_save_page_api.h
+++ b/chrome/browser/extensions/extension_page_capture_api.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SAVE_PAGE_API_H_
-#define CHROME_BROWSER_EXTENSIONS_EXTENSION_SAVE_PAGE_API_H_
+#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PAGE_CAPTURE_API_H_
+#define CHROME_BROWSER_EXTENSIONS_EXTENSION_PAGE_CAPTURE_API_H_
#include <string>
@@ -14,9 +14,9 @@
class FilePath;
-class SavePageAsMHTMLFunction : public AsyncExtensionFunction {
+class PageCaptureSaveAsMHTMLFunction : public AsyncExtensionFunction {
public:
- SavePageAsMHTMLFunction();
+ PageCaptureSaveAsMHTMLFunction();
// Test specific delegate used to test that the temporary file gets deleted.
class TestDelegate {
@@ -28,7 +28,7 @@ class SavePageAsMHTMLFunction : public AsyncExtensionFunction {
static void SetTestDelegate(TestDelegate* delegate);
private:
- virtual ~SavePageAsMHTMLFunction();
+ virtual ~PageCaptureSaveAsMHTMLFunction();
virtual bool RunImpl() OVERRIDE;
virtual bool OnMessageReceivedFromRenderView(
const IPC::Message& message) OVERRIDE;
@@ -55,7 +55,7 @@ class SavePageAsMHTMLFunction : public AsyncExtensionFunction {
// The file containing the MHTML.
scoped_refptr<webkit_blob::DeletableFileReference> mhtml_file_;
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.savePage.saveAsMHTML")
+ DECLARE_EXTENSION_FUNCTION_NAME("pageCapture.saveAsMHTML")
};
-#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SAVE_PAGE_API_H_
+#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PAGE_CAPTURE_API_H_
« no previous file with comments | « chrome/browser/extensions/extension_function_dispatcher.cc ('k') | chrome/browser/extensions/extension_page_capture_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698