diff options
-rw-r--r-- | chrome/common/font_descriptor_mac.h | 4 | ||||
-rw-r--r-- | chrome/installer/util/installer_util_unittests_resource.h | 4 | ||||
-rw-r--r-- | net/tools/fetch/http_server_response_info.h | 26 |
3 files changed, 17 insertions, 17 deletions
diff --git a/chrome/common/font_descriptor_mac.h b/chrome/common/font_descriptor_mac.h index 732fc42..37b963e 100644 --- a/chrome/common/font_descriptor_mac.h +++ b/chrome/common/font_descriptor_mac.h @@ -19,13 +19,13 @@ struct FontDescriptor { explicit FontDescriptor(NSFont* font); FontDescriptor() : font_point_size(0) {} - + // Return an autoreleased NSFont corresponding to the font description. NSFont* nsFont() const; // Name of the font. string16 font_name; - + // Size in points. float font_point_size; }; diff --git a/chrome/installer/util/installer_util_unittests_resource.h b/chrome/installer/util/installer_util_unittests_resource.h index 6fdd6ab..8f8e926 100644 --- a/chrome/installer/util/installer_util_unittests_resource.h +++ b/chrome/installer/util/installer_util_unittests_resource.h @@ -1,4 +1,4 @@ -// 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. @@ -7,7 +7,7 @@ // Used by installer_util_unittests.rc // Next default values for new objects -// +// #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_NEXT_RESOURCE_VALUE 101 diff --git a/net/tools/fetch/http_server_response_info.h b/net/tools/fetch/http_server_response_info.h index 86bff40..7a8bb1f 100644 --- a/net/tools/fetch/http_server_response_info.h +++ b/net/tools/fetch/http_server_response_info.h @@ -1,41 +1,41 @@ -// 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 NET_HTTP_HTTP_RESPONSE_INFO_H__ -#define NET_HTTP_HTTP_RESPONSE_INFO_H__ +#ifndef NET_HTTP_HTTP_RESPONSE_INFO_H_ +#define NET_HTTP_HTTP_RESPONSE_INFO_H_ #pragma once -#include <string> #include <map> +#include <string> // Meta information about a server response. class HttpServerResponseInfo { public: - HttpServerResponseInfo() + HttpServerResponseInfo() : status(200), content_length(0), connection_close(false) { } - // The response protocol + // The response protocol. std::string protocol; - // The status code + // The status code. int status; - // The server identifier + // The server identifier. std::string server_name; - // The content type + // The content type. std::string content_type; - // The content length + // The content length. int content_length; - // Should we close the connection + // Should we close the connection. bool connection_close; - // Additional response headers + // Additional response headers. std::map<std::string, std::string> headers; }; -#endif // NET_HTTP_HTTP_RESPONSE_INFO_H__ +#endif // NET_HTTP_HTTP_RESPONSE_INFO_H_ |