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

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

Issue 6713084: Move the rest of the renderer->browser messages that belong in content. Also do a bunch of cleanup: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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/automation_messages.h ('k') | chrome/common/common_message_generator.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 "content/common/common_param_traits.h" 5 #include "content/common/common_param_traits.h"
6 6
7 #define IPC_MESSAGE_IMPL 7 #define IPC_MESSAGE_IMPL
8 #include "chrome/common/automation_messages.h" 8 #include "chrome/common/automation_messages.h"
9 9
10 AutomationURLRequest::AutomationURLRequest() 10 AutomationURLRequest::AutomationURLRequest()
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 LogParam(p.dimensions, l); 670 LogParam(p.dimensions, l);
671 l->append(", "); 671 l->append(", ");
672 LogParam(p.disposition, l); 672 LogParam(p.disposition, l);
673 l->append(", "); 673 l->append(", ");
674 LogParam(p.user_gesture, l); 674 LogParam(p.user_gesture, l);
675 l->append(","); 675 l->append(",");
676 LogParam(p.profile_name, l); 676 LogParam(p.profile_name, l);
677 l->append(")"); 677 l->append(")");
678 } 678 }
679 679
680 // The traits for these are defined in render_messages.h
681 template <>
682 struct ParamTraits<ContentSetting> {
683 typedef ContentSetting param_type;
684 static void Write(Message* m, const param_type& p);
685 static bool Read(const Message* m, void** iter, param_type* p);
686 static void Log(const param_type& p, std::string* l);
687 };
688
689 template <>
690 struct ParamTraits<ContentSettingsType> {
691 typedef ContentSettingsType param_type;
692 static void Write(Message* m, const param_type& p);
693 static bool Read(const Message* m, void** iter, param_type* p);
694 static void Log(const param_type& p, std::string* l);
695 };
696
680 } // namespace IPC 697 } // namespace IPC
OLDNEW
« no previous file with comments | « chrome/common/automation_messages.h ('k') | chrome/common/common_message_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698