Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: content/child/web_url_request_util.cc

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/child/web_url_loader_impl_unittest.cc ('k') | content/child/webblobregistry_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/child/web_url_request_util.h" 5 #include "content/child/web_url_request_util.h"
6 6
7 #include <stddef.h>
7 #include <stdint.h> 8 #include <stdint.h>
8 9
9 #include <limits> 10 #include <limits>
10 11
11 #include "base/logging.h" 12 #include "base/logging.h"
12 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
13 #include "net/base/load_flags.h" 14 #include "net/base/load_flags.h"
14 #include "net/base/net_errors.h" 15 #include "net/base/net_errors.h"
15 #include "third_party/WebKit/public/platform/WebHTTPHeaderVisitor.h" 16 #include "third_party/WebKit/public/platform/WebHTTPHeaderVisitor.h"
16 #include "third_party/WebKit/public/platform/WebString.h" 17 #include "third_party/WebKit/public/platform/WebString.h"
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 bool stale_copy_in_cache, 444 bool stale_copy_in_cache,
444 int reason, 445 int reason,
445 bool was_ignored_by_handler) { 446 bool was_ignored_by_handler) {
446 blink::WebURLError error = 447 blink::WebURLError error =
447 CreateWebURLError(unreachable_url, stale_copy_in_cache, reason); 448 CreateWebURLError(unreachable_url, stale_copy_in_cache, reason);
448 error.wasIgnoredByHandler = was_ignored_by_handler; 449 error.wasIgnoredByHandler = was_ignored_by_handler;
449 return error; 450 return error;
450 } 451 }
451 452
452 } // namespace content 453 } // namespace content
OLDNEW
« no previous file with comments | « content/child/web_url_loader_impl_unittest.cc ('k') | content/child/webblobregistry_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698