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

Side by Side Diff: chrome/browser/renderer_host/chrome_render_message_filter.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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_
6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/common/content_settings.h" 10 #include "chrome/common/content_settings.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 void OnCanTriggerClipboardRead(const GURL& url, bool* allowed); 117 void OnCanTriggerClipboardRead(const GURL& url, bool* allowed);
118 void OnCanTriggerClipboardWrite(const GURL& url, bool* allowed); 118 void OnCanTriggerClipboardWrite(const GURL& url, bool* allowed);
119 void OnClearPredictorCache(int* result); 119 void OnClearPredictorCache(int* result);
120 void OnGetCookies(const GURL& url, 120 void OnGetCookies(const GURL& url,
121 const GURL& first_party_for_cookies, 121 const GURL& first_party_for_cookies,
122 IPC::Message* reply_msg); 122 IPC::Message* reply_msg);
123 void OnSetCookie(const IPC::Message& message, 123 void OnSetCookie(const IPC::Message& message,
124 const GURL& url, 124 const GURL& url,
125 const GURL& first_party_for_cookies, 125 const GURL& first_party_for_cookies,
126 const std::string& cookie); 126 const std::string& cookie);
127 void OnSavedPageAsMHTML(int job_id, bool success);
127 128
128 int render_process_id_; 129 int render_process_id_;
129 ProfileId profile_id_; 130 ProfileId profile_id_;
130 131
131 // The Profile associated with our renderer process. This should only be 132 // The Profile associated with our renderer process. This should only be
132 // accessed on the UI thread! 133 // accessed on the UI thread!
133 Profile* profile_; 134 Profile* profile_;
134 scoped_refptr<net::URLRequestContextGetter> request_context_; 135 scoped_refptr<net::URLRequestContextGetter> request_context_;
135 // Used to look up permissions at database creation time. 136 // Used to look up permissions at database creation time.
136 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; 137 scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
137 138
138 BooleanPrefMember allow_outdated_plugins_; 139 BooleanPrefMember allow_outdated_plugins_;
139 BooleanPrefMember always_authorize_plugins_; 140 BooleanPrefMember always_authorize_plugins_;
140 141
141 base::WeakPtrFactory<ChromeRenderMessageFilter> weak_ptr_factory_; 142 base::WeakPtrFactory<ChromeRenderMessageFilter> weak_ptr_factory_;
142 143
143 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter); 144 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter);
144 }; 145 };
145 146
146 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ 147 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/mhtml_generation_manager.cc ('k') | chrome/browser/renderer_host/chrome_render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698