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

Side by Side Diff: chrome/common/render_messages.h

Issue 113069: Content-Dispositon handling fix #2. Still WiP. Uploading as a check point.... Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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 | « no previous file | chrome/common/resource_dispatcher.h » ('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 (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_COMMON_RENDER_MESSAGES_H_ 5 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_
6 #define CHROME_COMMON_RENDER_MESSAGES_H_ 6 #define CHROME_COMMON_RENDER_MESSAGES_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 #include <map> 10 #include <map>
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 260
261 // Used by plugin->browser requests to get the correct URLRequestContext. 261 // Used by plugin->browser requests to get the correct URLRequestContext.
262 uint32 request_context; 262 uint32 request_context;
263 263
264 // Indicates which frame (or worker context) the request is being loaded into, 264 // Indicates which frame (or worker context) the request is being loaded into,
265 // or kNoAppCacheContextId. 265 // or kNoAppCacheContextId.
266 int32 app_cache_context_id; 266 int32 app_cache_context_id;
267 267
268 // Optional upload data (may be null). 268 // Optional upload data (may be null).
269 scoped_refptr<net::UploadData> upload_data; 269 scoped_refptr<net::UploadData> upload_data;
270
271 // Fallback character encoding to try when interpreting a raw 8bit-sequence
272 // in the filename/name parameter of Content-Disposition header field.
273 std::string disposition_fallback_charset;
270 }; 274 };
271 275
272 // Parameters for a render request. 276 // Parameters for a render request.
273 struct ViewMsg_Print_Params { 277 struct ViewMsg_Print_Params {
274 // In pixels according to dpi_x and dpi_y. 278 // In pixels according to dpi_x and dpi_y.
275 gfx::Size printable_size; 279 gfx::Size printable_size;
276 280
277 // Specifies dots per inch. 281 // Specifies dots per inch.
278 double dpi; 282 double dpi;
279 283
(...skipping 1592 matching lines...) Expand 10 before | Expand all | Expand 10 after
1872 } 1876 }
1873 }; 1877 };
1874 1878
1875 } // namespace IPC 1879 } // namespace IPC
1876 1880
1877 1881
1878 #define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h" 1882 #define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h"
1879 #include "chrome/common/ipc_message_macros.h" 1883 #include "chrome/common/ipc_message_macros.h"
1880 1884
1881 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ 1885 #endif // CHROME_COMMON_RENDER_MESSAGES_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/common/resource_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698