summaryrefslogtreecommitdiffstats
path: root/url/url_constants.cc
diff options
context:
space:
mode:
authormarkdittmer <markdittmer@chromium.org>2016-03-02 14:41:53 -0800
committerCommit bot <commit-bot@chromium.org>2016-03-02 22:43:55 +0000
commit45eb2e749a8b08988ab45bfd6806c004e9f511fa (patch)
tree0aecb6b3231864a85e6687f03aa5a534ba76f0cf /url/url_constants.cc
parentc80d2b59c2357c6cae1dee9baef6fbaecb3c8136 (diff)
downloadchromium_src-45eb2e749a8b08988ab45bfd6806c004e9f511fa.zip
chromium_src-45eb2e749a8b08988ab45bfd6806c004e9f511fa.tar.gz
chromium_src-45eb2e749a8b08988ab45bfd6806c004e9f511fa.tar.bz2
Move GURL ParamTraits to url/ipc
As a part of the GPU refactor for Mus, we are trying to eliminate spots where content/common/gpu depends on content/. One such dependency is GURL. As per discussion here: https://codereview.chromium.org/1703163002/, the plan of record is to move GURL ParamTraits out of content/ and into url/. BUG=586368 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Review URL: https://codereview.chromium.org/1722773002 Cr-Commit-Position: refs/heads/master@{#378859}
Diffstat (limited to 'url/url_constants.cc')
-rw-r--r--url/url_constants.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/url/url_constants.cc b/url/url_constants.cc
index 2dc1478..0388fbc 100644
--- a/url/url_constants.cc
+++ b/url/url_constants.cc
@@ -25,4 +25,6 @@ const char kWssScheme[] = "wss";
const char kStandardSchemeSeparator[] = "://";
+const size_t kMaxURLChars = 2 * 1024 * 1024;
+
} // namespace url