diff options
author | ivankr@chromium.org <ivankr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-29 18:17:22 +0000 |
---|---|---|
committer | ivankr@chromium.org <ivankr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-29 18:17:22 +0000 |
commit | b6a5ac9388e7102acfba1fb59cf4b71da5142ea3 (patch) | |
tree | 7efb9776132a59f32e1ac58c93f5cd23da1852ef /rlz/lib/rlz_lib.h | |
parent | 25a4f08e8800de1cc628320b23e76a2db00d43e6 (diff) | |
download | chromium_src-b6a5ac9388e7102acfba1fb59cf4b71da5142ea3.zip chromium_src-b6a5ac9388e7102acfba1fb59cf4b71da5142ea3.tar.gz chromium_src-b6a5ac9388e7102acfba1fb59cf4b71da5142ea3.tar.bz2 |
RLZ: remove hard-coded Win || Mac conditions.
Add enable_rlz GYP variable and rely on ENABLE_RLZ macro instead of hard-coded Win || Mac checks.
Also, clean compile by gcc (signed/unsigned mismatch, etc).
BUG=157348
Review URL: https://chromiumcodereview.appspot.com/11226060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164681 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'rlz/lib/rlz_lib.h')
-rw-r--r-- | rlz/lib/rlz_lib.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rlz/lib/rlz_lib.h b/rlz/lib/rlz_lib.h index 9d4cf3b..1f8be5c 100644 --- a/rlz/lib/rlz_lib.h +++ b/rlz/lib/rlz_lib.h @@ -55,14 +55,14 @@ namespace rlz_lib { class ScopedRlzValueStoreLock; // The maximum length of an access points RLZ in bytes. -const int kMaxRlzLength = 64; +const size_t kMaxRlzLength = 64; // The maximum length of an access points RLZ in bytes. -const int kMaxDccLength = 128; +const size_t kMaxDccLength = 128; // The maximum length of a CGI string in bytes. -const int kMaxCgiLength = 2048; +const size_t kMaxCgiLength = 2048; // The maximum length of a ping response we will parse in bytes. If the response // is bigger, please break it up into separate calls. -const int kMaxPingResponseLength = 0x4000; // 16K +const size_t kMaxPingResponseLength = 0x4000; // 16K #if defined(RLZ_NETWORK_IMPLEMENTATION_CHROME_NET) // Set the URLRequestContextGetter used by SendFinancialPing(). The IO message |