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

Unified Diff: content/renderer/mhtml_generator.h

Issue 1386873003: OOPIFs: Transitioning MHTML generation from view-oriented to frame-oriented. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mhtml-generation-mgr-cleanup
Patch Set: Rebasing... Created 5 years 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: content/renderer/mhtml_generator.h
diff --git a/content/renderer/mhtml_generator.h b/content/renderer/mhtml_generator.h
deleted file mode 100644
index 8a65b46afb4c819844b9b64e41176fd2bfb8092a..0000000000000000000000000000000000000000
--- a/content/renderer/mhtml_generator.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_RENDERER_MHTML_GENERATOR_H_
-#define CONTENT_RENDERER_MHTML_GENERATOR_H_
-
-#include "base/files/file.h"
-#include "content/public/renderer/render_view_observer.h"
-#include "ipc/ipc_platform_file.h"
-
-namespace content {
-class RenderViewImpl;
-
-class MHTMLGenerator : public RenderViewObserver {
- public:
- explicit MHTMLGenerator(RenderViewImpl* render_view);
- ~MHTMLGenerator() override;
-
- private:
- // RenderViewObserver implementation:
- bool OnMessageReceived(const IPC::Message& message) override;
-
- void OnSavePageAsMHTML(int job_id,
- IPC::PlatformFileForTransit file_for_transit);
-
- void NotifyBrowser(int job_id, int64 data_size);
- // Returns the size of the generated MHTML, -1 if it failed.
- int64 GenerateMHTML();
-
- base::File file_;
-
- DISALLOW_COPY_AND_ASSIGN(MHTMLGenerator);
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_MHTML_GENERATOR_H_

Powered by Google App Engine
This is Rietveld 408576698