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

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

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: windows fixes Created 9 years, 9 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/common/plugin_messages_internal.h ('k') | chrome/common/render_messages_internal.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) 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 #include "base/values.h" 5 #include "base/values.h"
6 #include "chrome/common/edit_command.h" 6 #include "chrome/common/edit_command.h"
7 #include "chrome/common/extensions/extension_extent.h" 7 #include "chrome/common/extensions/extension_extent.h"
8 #include "chrome/common/extensions/url_pattern.h" 8 #include "chrome/common/extensions/url_pattern.h"
9 #include "chrome/common/render_messages_params.h" 9 #include "chrome/common/render_messages_params.h"
10 #include "chrome/common/thumbnail_score.h" 10 #include "chrome/common/thumbnail_score.h"
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 ReadParam(m, iter, &p->memory_info_enabled) && 475 ReadParam(m, iter, &p->memory_info_enabled) &&
476 ReadParam(m, iter, &p->interactive_form_validation_enabled) && 476 ReadParam(m, iter, &p->interactive_form_validation_enabled) &&
477 ReadParam(m, iter, &p->fullscreen_enabled); 477 ReadParam(m, iter, &p->fullscreen_enabled);
478 } 478 }
479 479
480 void ParamTraits<WebPreferences>::Log(const param_type& p, std::string* l) { 480 void ParamTraits<WebPreferences>::Log(const param_type& p, std::string* l) {
481 l->append("<WebPreferences>"); 481 l->append("<WebPreferences>");
482 } 482 }
483 483
484 void ParamTraits<WebDropData>::Write(Message* m, const param_type& p) { 484 void ParamTraits<WebDropData>::Write(Message* m, const param_type& p) {
485 WriteParam(m, p.identity);
486 WriteParam(m, p.url); 485 WriteParam(m, p.url);
487 WriteParam(m, p.url_title); 486 WriteParam(m, p.url_title);
488 WriteParam(m, p.download_metadata); 487 WriteParam(m, p.download_metadata);
489 WriteParam(m, p.file_extension); 488 WriteParam(m, p.file_extension);
490 WriteParam(m, p.filenames); 489 WriteParam(m, p.filenames);
491 WriteParam(m, p.plain_text); 490 WriteParam(m, p.plain_text);
492 WriteParam(m, p.text_html); 491 WriteParam(m, p.text_html);
493 WriteParam(m, p.html_base_url); 492 WriteParam(m, p.html_base_url);
494 WriteParam(m, p.file_description_filename); 493 WriteParam(m, p.file_description_filename);
495 WriteParam(m, p.file_contents); 494 WriteParam(m, p.file_contents);
496 } 495 }
497 496
498 bool ParamTraits<WebDropData>::Read(const Message* m, void** iter, 497 bool ParamTraits<WebDropData>::Read(const Message* m, void** iter,
499 param_type* p) { 498 param_type* p) {
500 return 499 return
501 ReadParam(m, iter, &p->identity) &&
502 ReadParam(m, iter, &p->url) && 500 ReadParam(m, iter, &p->url) &&
503 ReadParam(m, iter, &p->url_title) && 501 ReadParam(m, iter, &p->url_title) &&
504 ReadParam(m, iter, &p->download_metadata) && 502 ReadParam(m, iter, &p->download_metadata) &&
505 ReadParam(m, iter, &p->file_extension) && 503 ReadParam(m, iter, &p->file_extension) &&
506 ReadParam(m, iter, &p->filenames) && 504 ReadParam(m, iter, &p->filenames) &&
507 ReadParam(m, iter, &p->plain_text) && 505 ReadParam(m, iter, &p->plain_text) &&
508 ReadParam(m, iter, &p->text_html) && 506 ReadParam(m, iter, &p->text_html) &&
509 ReadParam(m, iter, &p->html_base_url) && 507 ReadParam(m, iter, &p->html_base_url) &&
510 ReadParam(m, iter, &p->file_description_filename) && 508 ReadParam(m, iter, &p->file_description_filename) &&
511 ReadParam(m, iter, &p->file_contents); 509 ReadParam(m, iter, &p->file_contents);
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
918 l->append("("); 916 l->append("(");
919 LogParam(p.pending_bytes, l); 917 LogParam(p.pending_bytes, l);
920 l->append(", "); 918 l->append(", ");
921 LogParam(p.hardware_delay_bytes, l); 919 LogParam(p.hardware_delay_bytes, l);
922 l->append(", "); 920 l->append(", ");
923 LogParam(p.timestamp, l); 921 LogParam(p.timestamp, l);
924 l->append(")"); 922 l->append(")");
925 } 923 }
926 924
927 } // namespace IPC 925 } // namespace IPC
OLDNEW
« no previous file with comments | « chrome/common/plugin_messages_internal.h ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698