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

Side by Side Diff: content/browser/frame_host/render_frame_message_filter.h

Issue 1345483002: Create a RenderProcess message class and move keygen to it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweak Created 5 years, 3 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
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_message_filter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_
7 7
8 #if defined(OS_WIN) 8 #if defined(OS_WIN)
9 #include <windows.h> 9 #include <windows.h>
10 #endif 10 #endif
(...skipping 10 matching lines...) Expand all
21 #include "content/common/mac/font_loader.h" 21 #include "content/common/mac/font_loader.h"
22 #endif 22 #endif
23 23
24 #if defined(ENABLE_PLUGINS) 24 #if defined(ENABLE_PLUGINS)
25 #include "content/common/pepper_renderer_instance_data.h" 25 #include "content/common/pepper_renderer_instance_data.h"
26 #endif 26 #endif
27 27
28 class GURL; 28 class GURL;
29 29
30 namespace net { 30 namespace net {
31 class KeygenHandler;
32 class URLRequestContext; 31 class URLRequestContext;
33 class URLRequestContextGetter; 32 class URLRequestContextGetter;
34 } 33 }
35 34
36 namespace content { 35 namespace content {
37 class BrowserContext; 36 class BrowserContext;
38 class PluginServiceImpl; 37 class PluginServiceImpl;
39 class RenderWidgetHelper; 38 class RenderWidgetHelper;
40 class ResourceContext; 39 class ResourceContext;
41 struct WebPluginInfo; 40 struct WebPluginInfo;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 const std::string& cookies); 97 const std::string& cookies);
99 98
100 void OnAre3DAPIsBlocked(int render_frame_id, 99 void OnAre3DAPIsBlocked(int render_frame_id,
101 const GURL& top_origin_url, 100 const GURL& top_origin_url,
102 ThreeDAPIType requester, 101 ThreeDAPIType requester,
103 bool* blocked); 102 bool* blocked);
104 void OnDidLose3DContext(const GURL& top_origin_url, 103 void OnDidLose3DContext(const GURL& top_origin_url,
105 ThreeDAPIType context_type, 104 ThreeDAPIType context_type,
106 int arb_robustness_status_code); 105 int arb_robustness_status_code);
107 106
108 void OnKeygen(uint32 key_size_index,
109 const std::string& challenge_string,
110 const GURL& url,
111 IPC::Message* reply_msg);
112 void PostKeygenToWorkerThread(IPC::Message* reply_msg,
113 scoped_ptr<net::KeygenHandler> keygen_handler);
114 void OnKeygenOnWorkerThread(scoped_ptr<net::KeygenHandler> keygen_handler,
115 IPC::Message* reply_msg);
116
117 #if defined(OS_MACOSX) 107 #if defined(OS_MACOSX)
118 // Messages for OOP font loading. 108 // Messages for OOP font loading.
119 void OnLoadFont(const FontDescriptor& font, IPC::Message* reply_msg); 109 void OnLoadFont(const FontDescriptor& font, IPC::Message* reply_msg);
120 void SendLoadFontReply(IPC::Message* reply, FontLoader::Result* result); 110 void SendLoadFontReply(IPC::Message* reply, FontLoader::Result* result);
121 #elif defined(OS_WIN) 111 #elif defined(OS_WIN)
122 void OnPreCacheFontCharacters(const LOGFONT& log_font, 112 void OnPreCacheFontCharacters(const LOGFONT& log_font,
123 const base::string16& characters); 113 const base::string16& characters);
124 #endif 114 #endif
125 115
126 #if defined(ENABLE_PLUGINS) 116 #if defined(ENABLE_PLUGINS)
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 174
185 // Whether this process is used for incognito contents. 175 // Whether this process is used for incognito contents.
186 bool incognito_; 176 bool incognito_;
187 177
188 const int render_process_id_; 178 const int render_process_id_;
189 }; 179 };
190 180
191 } // namespace content 181 } // namespace content
192 182
193 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_ 183 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698