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

Unified Diff: chrome/common/render_messages.h

Issue 460119: Move the utility process messages to their own file now that we have more tha... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages.h
===================================================================
--- chrome/common/render_messages.h (revision 33966)
+++ chrome/common/render_messages.h (working copy)
@@ -21,7 +21,6 @@
#include "chrome/common/css_colors.h"
#include "chrome/common/dom_storage_type.h"
#include "chrome/common/edit_command.h"
-#include "chrome/common/extensions/update_manifest.h"
#include "chrome/common/extensions/url_pattern.h"
#include "chrome/common/filter_policy.h"
#include "chrome/common/navigation_gesture.h"
@@ -2089,39 +2088,6 @@
typedef int Type;
};
-// Traits for UpdateManifest::Result.
-template <>
-struct ParamTraits<UpdateManifest::Result> {
- typedef UpdateManifest::Result param_type;
- static void Write(Message* m, const param_type& p) {
- WriteParam(m, p.extension_id);
- WriteParam(m, p.version);
- WriteParam(m, p.browser_min_version);
- WriteParam(m, p.package_hash);
- WriteParam(m, p.crx_url);
- }
- static bool Read(const Message* m, void** iter, param_type* p) {
- return ReadParam(m, iter, &p->extension_id) &&
- ReadParam(m, iter, &p->version) &&
- ReadParam(m, iter, &p->browser_min_version) &&
- ReadParam(m, iter, &p->package_hash) &&
- ReadParam(m, iter, &p->crx_url);
- }
- static void Log(const param_type& p, std::wstring* l) {
- l->append(L"(");
- LogParam(p.extension_id, l);
- l->append(L", ");
- LogParam(p.version, l);
- l->append(L", ");
- LogParam(p.browser_min_version, l);
- l->append(L", ");
- LogParam(p.package_hash, l);
- l->append(L", ");
- LogParam(p.crx_url, l);
- l->append(L")");
- }
-};
-
// Traits for URLPattern.
template <>
struct ParamTraits<URLPattern> {
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698