summaryrefslogtreecommitdiffstats
path: root/chrome/common/utility_messages.h
diff options
context:
space:
mode:
authorIain Merrick <husky@google.com>2010-10-19 14:37:37 +0100
committerIain Merrick <husky@google.com>2010-10-19 14:37:37 +0100
commit3345a6884c488ff3a535c2c9acdd33d74b37e311 (patch)
tree7784b988ef1698cb6967ea1bdf07616237716c6c /chrome/common/utility_messages.h
parentefc8475837ec58186051f23bb03542620424f6ce (diff)
downloadexternal_chromium-3345a6884c488ff3a535c2c9acdd33d74b37e311.zip
external_chromium-3345a6884c488ff3a535c2c9acdd33d74b37e311.tar.gz
external_chromium-3345a6884c488ff3a535c2c9acdd33d74b37e311.tar.bz2
Merge Chromium at 7.0.540.0 : Initial merge by git
Not including third_party/icu as it contains huge data files that break Gerrit, and aren't actually used. Change-Id: I428a386e70f3b58cacd28677b8cfda282e891e15
Diffstat (limited to 'chrome/common/utility_messages.h')
-rw-r--r--chrome/common/utility_messages.h29
1 files changed, 14 insertions, 15 deletions
diff --git a/chrome/common/utility_messages.h b/chrome/common/utility_messages.h
index 867131f..49bc9ce 100644
--- a/chrome/common/utility_messages.h
+++ b/chrome/common/utility_messages.h
@@ -1,18 +1,17 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_COMMON_UTILITY_MESSAGES_H_
#define CHROME_COMMON_UTILITY_MESSAGES_H_
+#pragma once
#include <string>
-#include <vector>
#include "base/basictypes.h"
-#include "base/file_path.h"
-#include "base/values.h"
#include "chrome/common/common_param_traits.h"
#include "chrome/common/extensions/update_manifest.h"
+#include "chrome/common/indexed_db_param_traits.h"
#include "ipc/ipc_message_utils.h"
namespace IPC {
@@ -35,18 +34,18 @@ struct ParamTraits<UpdateManifest::Result> {
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"(");
+ static void Log(const param_type& p, std::string* l) {
+ l->append("(");
LogParam(p.extension_id, l);
- l->append(L", ");
+ l->append(", ");
LogParam(p.version, l);
- l->append(L", ");
+ l->append(", ");
LogParam(p.browser_min_version, l);
- l->append(L", ");
+ l->append(", ");
LogParam(p.package_hash, l);
- l->append(L", ");
+ l->append(", ");
LogParam(p.crx_url, l);
- l->append(L")");
+ l->append(")");
}
};
@@ -61,12 +60,12 @@ struct ParamTraits<UpdateManifest::Results> {
return ReadParam(m, iter, &p->list) &&
ReadParam(m, iter, &p->daystart_elapsed_seconds);
}
- static void Log(const param_type& p, std::wstring* l) {
- l->append(L"(");
+ static void Log(const param_type& p, std::string* l) {
+ l->append("(");
LogParam(p.list, l);
- l->append(L", ");
+ l->append(", ");
LogParam(p.daystart_elapsed_seconds, l);
- l->append(L")");
+ l->append(")");
}
};