diff options
author | jond@google.com <jond@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-23 15:01:23 +0000 |
---|---|---|
committer | jond@google.com <jond@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-23 15:01:23 +0000 |
commit | 0a8c0230bb0722cb85befefb3ee13624f74ae723 (patch) | |
tree | e7c9ec615cf47deb47faaf27615757766b8490c1 /ppapi/cpp | |
parent | 44f4f3120bfb6334b491da1876f3bc798104546a (diff) | |
download | chromium_src-0a8c0230bb0722cb85befefb3ee13624f74ae723.zip chromium_src-0a8c0230bb0722cb85befefb3ee13624f74ae723.tar.gz chromium_src-0a8c0230bb0722cb85befefb3ee13624f74ae723.tar.bz2 |
Changing all True to true and all False to false as per dmichael.
Review URL: http://codereview.chromium.org/7713018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97860 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/cpp')
-rw-r--r-- | ppapi/cpp/url_request_info.h | 34 | ||||
-rw-r--r-- | ppapi/cpp/var.h | 20 |
2 files changed, 27 insertions, 27 deletions
diff --git a/ppapi/cpp/url_request_info.h b/ppapi/cpp/url_request_info.h index 263cbc1..955ff21 100644 --- a/ppapi/cpp/url_request_info.h +++ b/ppapi/cpp/url_request_info.h @@ -42,7 +42,7 @@ class URLRequestInfo : public Resource { /// property to set. /// @param[in] value A <code>Var</code> containing the property value. /// - /// @return True if successful, false if any of the + /// @return true if successful, false if any of the /// parameters are invalid. bool SetProperty(PP_URLRequestProperty property, const Var& value); @@ -52,7 +52,7 @@ class URLRequestInfo : public Resource { /// @param[in] data A pointer to a buffer holding the data. /// @param[in] len The length, in bytes, of the data. /// - /// @return True if successful, false if any of the + /// @return true if successful, false if any of the /// parameters are invalid. bool AppendDataToBody(const void* data, uint32_t len); @@ -70,7 +70,7 @@ class URLRequestInfo : public Resource { /// since the given time. If expected_last_modified_time is 0, then no /// validation is performed. /// - /// @return True if successful, false if any of the + /// @return true if successful, false if any of the /// parameters are invalid. bool AppendFileToBody(const FileRef& file_ref, PP_Time expected_last_modified_time = 0); @@ -93,7 +93,7 @@ class URLRequestInfo : public Resource { /// since the given time. If expected_last_modified_time is 0, then no /// validation is performed. /// - /// @return True if successful, false if any of the + /// @return true if successful, false if any of the /// parameters are invalid. bool AppendFileRangeToBody(const FileRef& file_ref, int64_t start_offset, @@ -105,7 +105,7 @@ class URLRequestInfo : public Resource { /// /// @param[in] url_string A <code>Var</code> containing the property value. /// - /// @return True if successful, false if the parameter is invalid. + /// @return true if successful, false if the parameter is invalid. bool SetURL(const Var& url_string) { return SetProperty(PP_URLREQUESTPROPERTY_URL, url_string); } @@ -119,7 +119,7 @@ class URLRequestInfo : public Resource { /// @param[in] method_string A <code>Var</code> containing the property /// value. /// - /// @return True if successful, false if the parameter is invalid. + /// @return true if successful, false if the parameter is invalid. bool SetMethod(const Var& method_string) { return SetProperty(PP_URLREQUESTPROPERTY_METHOD, method_string); } @@ -134,7 +134,7 @@ class URLRequestInfo : public Resource { /// @param[in] headers_string A <code>Var</code> containing the property /// value. /// - /// @return True if successful, false if the parameter is invalid. + /// @return true if successful, false if the parameter is invalid. bool SetHeaders(const Var& headers_string) { return SetProperty(PP_URLREQUESTPROPERTY_HEADERS, headers_string); } @@ -148,7 +148,7 @@ class URLRequestInfo : public Resource { /// /// @param[in] enable A <code>bool</code> containing the property value. /// - /// @return True if successful, false if the parameter is invalid. + /// @return true if successful, false if the parameter is invalid. bool SetStreamToFile(bool enable) { return SetProperty(PP_URLREQUESTPROPERTY_STREAMTOFILE, enable); } @@ -162,7 +162,7 @@ class URLRequestInfo : public Resource { /// /// @param[in] enable A <code>bool</code> containing the property value. /// - /// @return True if successful, false if the parameter is invalid. + /// @return true if successful, false if the parameter is invalid. bool SetFollowRedirects(bool enable) { return SetProperty(PP_URLREQUESTPROPERTY_FOLLOWREDIRECTS, enable); } @@ -176,7 +176,7 @@ class URLRequestInfo : public Resource { /// /// @param[in] enable A <code>bool</code> containing the property value. //// - /// @return True if successful, false if the parameter is invalid. + /// @return true if successful, false if the parameter is invalid. bool SetRecordDownloadProgress(bool enable) { return SetProperty(PP_URLREQUESTPROPERTY_RECORDDOWNLOADPROGRESS, enable); } @@ -189,7 +189,7 @@ class URLRequestInfo : public Resource { /// /// @param[in] enable A <code>bool</code> containing the property value. /// - /// @return True if successful, false if the parameter is invalid. + /// @return true if successful, false if the parameter is invalid. bool SetRecordUploadProgress(bool enable) { return SetProperty(PP_URLREQUESTPROPERTY_RECORDUPLOADPROGRESS, enable); } @@ -207,7 +207,7 @@ class URLRequestInfo : public Resource { /// /// @param[in] url A <code>Var</code> containing the property value. /// - /// @return True if successful, false if the parameter is invalid. + /// @return true if successful, false if the parameter is invalid. bool SetCustomReferrerURL(const Var& url) { return SetProperty(PP_URLREQUESTPROPERTY_CUSTOMREFERRERURL, url); } @@ -224,7 +224,7 @@ class URLRequestInfo : public Resource { /// /// @param[in] enable A <code>bool</code> containing the property value. /// - /// @return True if successful, false if the parameter is invalid. + /// @return true if successful, false if the parameter is invalid. bool SetAllowCrossOriginRequests(bool enable) { return SetProperty(PP_URLREQUESTPROPERTY_ALLOWCROSSORIGINREQUESTS, enable); } @@ -239,7 +239,7 @@ class URLRequestInfo : public Resource { /// /// @param[in] enable A <code>bool</code> containing the property value. /// - /// @return True if successful, false if the parameter is invalid. + /// @return true if successful, false if the parameter is invalid. bool SetAllowCredentials(bool enable) { return SetProperty(PP_URLREQUESTPROPERTY_ALLOWCREDENTIALS, enable); } @@ -260,7 +260,7 @@ class URLRequestInfo : public Resource { /// property value. To use the default content transfer encoding, set /// <code>content_transfer_encoding</code> to an undefined <code>Var</code>. /// - /// @return True if successful, false if the parameter is invalid. + /// @return true if successful, false if the parameter is invalid. bool SetCustomContentTransferEncoding(const Var& content_transfer_encoding) { return SetProperty(PP_URLREQUESTPROPERTY_CUSTOMCONTENTTRANSFERENCODING, content_transfer_encoding); @@ -281,7 +281,7 @@ class URLRequestInfo : public Resource { /// /// @param[in] size An int32_t containing the property value. /// - /// @return True if successful, false if the parameter is invalid. + /// @return true if successful, false if the parameter is invalid. bool SetPrefetchBufferUpperThreshold(int32_t size) { return SetProperty(PP_URLREQUESTPROPERTY_PREFETCHBUFFERUPPERTHRESHOLD, size); @@ -303,7 +303,7 @@ class URLRequestInfo : public Resource { /// /// @param[in] size An int32_t containing the property value. /// - /// @return True if successful, false if the parameter is invalid. + /// @return true if successful, false if the parameter is invalid. bool SetPrefetchBufferLowerThreshold(int32_t size) { return SetProperty(PP_URLREQUESTPROPERTY_PREFETCHBUFFERLOWERTHRESHOLD, size); diff --git a/ppapi/cpp/var.h b/ppapi/cpp/var.h index d23349e..01b4072 100644 --- a/ppapi/cpp/var.h +++ b/ppapi/cpp/var.h @@ -102,33 +102,33 @@ class Var { /// /// @param[in] other The <code>Var</code> to be compared to this Var. /// - /// @return True if the <code>other</code> <code>Var</code> is the same as + /// @return true if the <code>other</code> <code>Var</code> is the same as /// this <code>Var</code>, otherwise false. bool operator==(const Var& other) const; /// This function determines if this <code>Var</code> is an undefined value. /// - /// @return True if this <code>Var</code> is undefined, otherwise false. + /// @return true if this <code>Var</code> is undefined, otherwise false. bool is_undefined() const { return var_.type == PP_VARTYPE_UNDEFINED; } /// This function determines if this <code>Var</code> is a null value. /// - /// @return True if this <code>Var</code> is null, otherwise False. + /// @return true if this <code>Var</code> is null, otherwise false. bool is_null() const { return var_.type == PP_VARTYPE_NULL; } /// This function determines if this <code>Var</code> is a bool value. /// - /// @return True if this <code>Var</code> is a bool, otherwise False. + /// @return true if this <code>Var</code> is a bool, otherwise false. bool is_bool() const { return var_.type == PP_VARTYPE_BOOL; } /// This function determines if this <code>Var</code> is a string value. /// - /// @return True if this <code>Var</code> is a string, otherwise False. + /// @return true if this <code>Var</code> is a string, otherwise false. bool is_string() const { return var_.type == PP_VARTYPE_STRING; } /// This function determines if this <code>Var</code> is an object. /// - /// @return True if this <code>Var</code> is an object, otherwise False. + /// @return true if this <code>Var</code> is an object, otherwise false. bool is_object() const { return var_.type == PP_VARTYPE_OBJECT; } /// This function determines if this <code>Var</code> is an integer value. @@ -138,7 +138,7 @@ class Var { /// optimization inside the runtime). So most of the time, you will want /// to check is_number(). /// - /// @return True if this <code>Var</code> is an integer, otherwise False. + /// @return true if this <code>Var</code> is an integer, otherwise false. bool is_int() const { return var_.type == PP_VARTYPE_INT32; } /// This function determines if this <code>Var</code> is a double value. @@ -148,13 +148,13 @@ class Var { /// optimization inside the runtime). So most of the time, you will want to /// check is_number(). /// - /// @return True if this <code>Var</code> is a double, otherwise False. + /// @return true if this <code>Var</code> is a double, otherwise false. bool is_double() const { return var_.type == PP_VARTYPE_DOUBLE; } /// This function determines if this <code>Var</code> is a number. /// - /// @return True if this <code>Var</code> is an int32 or double number, - /// otherwise False. + /// @return true if this <code>Var</code> is an int32 or double number, + /// otherwise false. bool is_number() const { return var_.type == PP_VARTYPE_INT32 || var_.type == PP_VARTYPE_DOUBLE; |