summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages_params.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/render_messages_params.cc')
-rw-r--r--chrome/common/render_messages_params.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/common/render_messages_params.cc b/chrome/common/render_messages_params.cc
index 59802b4..a57b076 100644
--- a/chrome/common/render_messages_params.cc
+++ b/chrome/common/render_messages_params.cc
@@ -522,7 +522,7 @@ struct ParamTraits<Extension::Location> {
int val = 0;
if (!ReadParam(m, iter, &val) ||
val < Extension::INVALID ||
- val > Extension::EXTERNAL_PREF_DOWNLOAD)
+ val >= Extension::NUM_LOCATIONS)
return false;
*p = static_cast<param_type>(val);
return true;
@@ -1873,14 +1873,14 @@ void ParamTraits<ViewHostMsg_DomMessage_Params>::Log(const param_type& p,
l->append(")");
}
-void ParamTraits<base::file_util_proxy::Entry>::Write(
+void ParamTraits<base::FileUtilProxy::Entry>::Write(
Message* m,
const param_type& p) {
WriteParam(m, p.name);
WriteParam(m, p.is_directory);
}
-bool ParamTraits<base::file_util_proxy::Entry>::Read(
+bool ParamTraits<base::FileUtilProxy::Entry>::Read(
const Message* m,
void** iter,
param_type* p) {
@@ -1889,7 +1889,7 @@ bool ParamTraits<base::file_util_proxy::Entry>::Read(
ReadParam(m, iter, &p->is_directory);
}
-void ParamTraits<base::file_util_proxy::Entry>::Log(
+void ParamTraits<base::FileUtilProxy::Entry>::Log(
const param_type& p,
std::string* l) {
l->append("(");