From 5cc06369ee53fbde978506263f0b15735560cfd6 Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Tue, 7 Apr 2009 23:21:31 +0000 Subject: linux: pass a bunch more ui tests. Mostly random portability fixes: use portable functions, use FilePath, etc. Review URL: http://codereview.chromium.org/62117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13302 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/json_value_serializer.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'chrome/common/json_value_serializer.h') diff --git a/chrome/common/json_value_serializer.h b/chrome/common/json_value_serializer.h index 92bd069..2c71e47 100644 --- a/chrome/common/json_value_serializer.h +++ b/chrome/common/json_value_serializer.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef CHROME_COMMON_JSON_VALUE_SERIALIZER_H__ -#define CHROME_COMMON_JSON_VALUE_SERIALIZER_H__ +#ifndef CHROME_COMMON_JSON_VALUE_SERIALIZER_H_ +#define CHROME_COMMON_JSON_VALUE_SERIALIZER_H_ #include @@ -67,7 +67,7 @@ class JSONFileValueSerializer : public ValueSerializer { // deserialization or the destination of the serialization. // When deserializing, the file should exist, but when serializing, the // serializer will attempt to create the file at the specified location. - JSONFileValueSerializer(const FilePath& json_file_path) + explicit JSONFileValueSerializer(const FilePath& json_file_path) : json_file_path_(json_file_path) {} ~JSONFileValueSerializer() {} @@ -92,7 +92,7 @@ class JSONFileValueSerializer : public ValueSerializer { private: FilePath json_file_path_; - DISALLOW_EVIL_CONSTRUCTORS(JSONFileValueSerializer); + DISALLOW_IMPLICIT_CONSTRUCTORS(JSONFileValueSerializer); }; -#endif // CHROME_COMMON_JSON_VALUE_SERIALIZER_H__ +#endif // CHROME_COMMON_JSON_VALUE_SERIALIZER_H_ -- cgit v1.1