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

Side by Side Diff: chrome/renderer/mhtml_generator.h

Issue 7044095: Hooking MHTML generation to the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced Created 9 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | chrome/renderer/mhtml_generator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_RENDERER_MHTML_GENERATOR_H_
6 #define CHROME_RENDERER_MHTML_GENERATOR_H_
7
8 #include "content/renderer/render_view_observer.h"
9
10 #include "ipc/ipc_platform_file.h"
11
12 class MHTMLGenerator : public RenderViewObserver {
13 public:
14 explicit MHTMLGenerator(RenderView* render_view);
15 virtual ~MHTMLGenerator();
16
17 private:
18 // RenderViewObserver implementation:
19 virtual bool OnMessageReceived(const IPC::Message& message);
20
21 void OnSavePageAsMHTML(int job_id,
22 IPC::PlatformFileForTransit file_for_transit);
23
24 void NotifyBrowser(int job_id, bool success);
25 bool GenerateMHTML();
26
27 base::PlatformFile file_;
28
29 DISALLOW_COPY_AND_ASSIGN(MHTMLGenerator);
30 };
31
32 #endif // CHROME_RENDERER_MHTML_GENERATOR_H_
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | chrome/renderer/mhtml_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698