diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-07 23:21:31 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-07 23:21:31 +0000 |
commit | 5cc06369ee53fbde978506263f0b15735560cfd6 (patch) | |
tree | 635e0d9c60bb45f633ad220701e0a7513018f7fc /chrome/common/json_value_serializer.h | |
parent | c8bdcb753bcbe960bc239419180d085534ef8432 (diff) | |
download | chromium_src-5cc06369ee53fbde978506263f0b15735560cfd6.zip chromium_src-5cc06369ee53fbde978506263f0b15735560cfd6.tar.gz chromium_src-5cc06369ee53fbde978506263f0b15735560cfd6.tar.bz2 |
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
Diffstat (limited to 'chrome/common/json_value_serializer.h')
-rw-r--r-- | chrome/common/json_value_serializer.h | 10 |
1 files changed, 5 insertions, 5 deletions
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 <string> @@ -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_ |