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

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

Issue 7548024: Refactor: Make PyAuto InstallExtension() take a string. Delete dead code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixup per kkania. Created 9 years, 4 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_constants.h ('k') | chrome/common/automation_messages.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 (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 // Multiply-included message file, no traditional include guard. 5 // Multiply-included message file, no traditional include guard.
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 257
258 template <> 258 template <>
259 struct ParamTraits<AutomationMsg_NavigationResponseValues> { 259 struct ParamTraits<AutomationMsg_NavigationResponseValues> {
260 typedef AutomationMsg_NavigationResponseValues param_type; 260 typedef AutomationMsg_NavigationResponseValues param_type;
261 static void Write(Message* m, const param_type& p); 261 static void Write(Message* m, const param_type& p);
262 static bool Read(const Message* m, void** iter, param_type* p); 262 static bool Read(const Message* m, void** iter, param_type* p);
263 static void Log(const param_type& p, std::string* l); 263 static void Log(const param_type& p, std::string* l);
264 }; 264 };
265 265
266 template <> 266 template <>
267 struct ParamTraits<AutomationMsg_ExtensionResponseValues> {
268 typedef AutomationMsg_ExtensionResponseValues param_type;
269 static void Write(Message* m, const param_type& p);
270 static bool Read(const Message* m, void** iter, param_type* p);
271 static void Log(const param_type& p, std::string* l);
272 };
273
274 template <>
275 struct ParamTraits<AutomationMsg_ExtensionProperty> { 267 struct ParamTraits<AutomationMsg_ExtensionProperty> {
276 typedef AutomationMsg_ExtensionProperty param_type; 268 typedef AutomationMsg_ExtensionProperty param_type;
277 static void Write(Message* m, const param_type& p); 269 static void Write(Message* m, const param_type& p);
278 static bool Read(const Message* m, void** iter, param_type* p); 270 static bool Read(const Message* m, void** iter, param_type* p);
279 static void Log(const param_type& p, std::string* l); 271 static void Log(const param_type& p, std::string* l);
280 }; 272 };
281 273
282 template <> 274 template <>
283 struct ParamTraits<SecurityStyle> { 275 struct ParamTraits<SecurityStyle> {
284 typedef SecurityStyle param_type; 276 typedef SecurityStyle param_type;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 static void Log(const param_type& p, std::string* l); 401 static void Log(const param_type& p, std::string* l);
410 }; 402 };
411 403
412 } // namespace IPC 404 } // namespace IPC
413 405
414 #endif // CHROME_COMMON_AUTOMATION_MESSAGES_H__ 406 #endif // CHROME_COMMON_AUTOMATION_MESSAGES_H__
415 407
416 // Keep this internal message file unchanged to preserve line numbering 408 // Keep this internal message file unchanged to preserve line numbering
417 // (and hence the dubious __LINE__-based message numberings) across versions. 409 // (and hence the dubious __LINE__-based message numberings) across versions.
418 #include "chrome/common/automation_messages_internal.h" 410 #include "chrome/common/automation_messages_internal.h"
419
OLDNEW
« no previous file with comments | « chrome/common/automation_constants.h ('k') | chrome/common/automation_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698