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

Side by Side Diff: webkit/api/public/WebKitClient.h

Issue 261035: Adds support for the <keygen> tag for client certificate enrollment under Lin... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 2 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 // If refresh is true, then cached information should not be used to 172 // If refresh is true, then cached information should not be used to
173 // satisfy this call. 173 // satisfy this call.
174 virtual void getPluginList(bool refresh, WebPluginListBuilder*) = 0; 174 virtual void getPluginList(bool refresh, WebPluginListBuilder*) = 0;
175 175
176 176
177 // Profiling ----------------------------------------------------------- 177 // Profiling -----------------------------------------------------------
178 178
179 virtual void decrementStatsCounter(const char* name) = 0; 179 virtual void decrementStatsCounter(const char* name) = 0;
180 virtual void incrementStatsCounter(const char* name) = 0; 180 virtual void incrementStatsCounter(const char* name) = 0;
181 181
182 // Handle the <keygen> tag for generating client certificates
183 // Returns a base64 encoded signed copy of a public key from a newly
184 // generated key pair and the supplied challenge string. keySizeindex
185 // specifies the strength of the key.
186 virtual WebString genKeyAndSignChallenge(unsigned keySizeIndex,
187 const WebKit::WebString& challenge,
188 const WebKit::WebURL& url) = 0;
189
182 // An event is identified by the pair (name, id). The extra parameter 190 // An event is identified by the pair (name, id). The extra parameter
183 // specifies additional data to log with the event. 191 // specifies additional data to log with the event.
184 virtual void traceEventBegin(const char* name, void* id, const char* extra) = 0; 192 virtual void traceEventBegin(const char* name, void* id, const char* extra) = 0;
185 virtual void traceEventEnd(const char* name, void* id, const char* extra) = 0; 193 virtual void traceEventEnd(const char* name, void* id, const char* extra) = 0;
186 194
187 195
188 // Resources ----------------------------------------------------------- 196 // Resources -----------------------------------------------------------
189 197
190 // Returns a blob of data corresponding to the named resource. 198 // Returns a blob of data corresponding to the named resource.
191 virtual WebData loadResource(const char* name) = 0; 199 virtual WebData loadResource(const char* name) = 0;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 // Callable from a background WebKit thread. 238 // Callable from a background WebKit thread.
231 virtual void callOnMainThread(void (*func)()) = 0; 239 virtual void callOnMainThread(void (*func)()) = 0;
232 240
233 protected: 241 protected:
234 ~WebKitClient() { } 242 ~WebKitClient() { }
235 }; 243 };
236 244
237 } // namespace WebKit 245 } // namespace WebKit
238 246
239 #endif 247 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698