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

Side by Side Diff: components/web_view/url_request_cloneable.cc

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (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 | « components/web_view/url_request_cloneable.h ('k') | components/web_view/web_view_apptest.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/web_view/url_request_cloneable.h" 5 #include "components/web_view/url_request_cloneable.h"
6 6
7 #include <stddef.h>
8
7 #include "base/logging.h" 9 #include "base/logging.h"
8 #include "mojo/common/data_pipe_utils.h" 10 #include "mojo/common/data_pipe_utils.h"
9 #include "mojo/common/url_type_converters.h" 11 #include "mojo/common/url_type_converters.h"
10 12
11 namespace web_view { 13 namespace web_view {
12 14
13 // TODO(erg): In the long run, we might not want to have a stack of 15 // TODO(erg): In the long run, we might not want to have a stack of
14 // URLRequestPtrs, but another type that captures most of the data. When I saw 16 // URLRequestPtrs, but another type that captures most of the data. When I saw
15 // NavigationController the first time, I didn't understand why they made their 17 // NavigationController the first time, I didn't understand why they made their
16 // own datastructure which kept track of everything in a request. The reason is 18 // own datastructure which kept track of everything in a request. The reason is
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 DCHECK_EQ(num_bytes, body_[i].size()); 74 DCHECK_EQ(num_bytes, body_[i].size());
73 } 75 }
74 } 76 }
75 77
76 request->originating_time_ticks = originating_time_.ToInternalValue(); 78 request->originating_time_ticks = originating_time_.ToInternalValue();
77 79
78 return request.Pass(); 80 return request.Pass();
79 } 81 }
80 82
81 } // namespace web_view 83 } // namespace web_view
OLDNEW
« no previous file with comments | « components/web_view/url_request_cloneable.h ('k') | components/web_view/web_view_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698