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

Side by Side Diff: components/html_viewer/html_frame_properties.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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
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/html_viewer/html_frame_properties.h" 5 #include "components/html_viewer/html_frame_properties.h"
6 6
7 #include <stddef.h>
8
7 #include "base/logging.h" 9 #include "base/logging.h"
8 #include "base/pickle.h" 10 #include "base/pickle.h"
9 #include "mojo/common/common_type_converters.h" 11 #include "mojo/common/common_type_converters.h"
10 #include "third_party/WebKit/public/platform/WebString.h" 12 #include "third_party/WebKit/public/platform/WebString.h"
11 #include "third_party/WebKit/public/web/WebDocument.h" 13 #include "third_party/WebKit/public/web/WebDocument.h"
12 #include "third_party/WebKit/public/web/WebFrame.h" 14 #include "third_party/WebKit/public/web/WebFrame.h"
13 #include "third_party/WebKit/public/web/WebSandboxFlags.h" 15 #include "third_party/WebKit/public/web/WebSandboxFlags.h"
14 #include "url/origin.h" 16 #include "url/origin.h"
15 #include "url/url_util.h" 17 #include "url/url_util.h"
16 18
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 155
154 mojo::Array<uint8_t> GetValueFromClientProperties( 156 mojo::Array<uint8_t> GetValueFromClientProperties(
155 const std::string& name, 157 const std::string& name,
156 const mojo::Map<mojo::String, mojo::Array<uint8_t>>& properties) { 158 const mojo::Map<mojo::String, mojo::Array<uint8_t>>& properties) {
157 auto iter = properties.find(name); 159 auto iter = properties.find(name);
158 return iter == properties.end() ? mojo::Array<uint8_t>() 160 return iter == properties.end() ? mojo::Array<uint8_t>()
159 : iter.GetValue().Clone().Pass(); 161 : iter.GetValue().Clone().Pass();
160 } 162 }
161 163
162 } // namespace html_viewer 164 } // namespace html_viewer
OLDNEW
« no previous file with comments | « components/html_viewer/html_frame_properties.h ('k') | components/html_viewer/html_frame_tree_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698