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

Side by Side Diff: components/html_viewer/blink_basic_type_converters.h

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 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 #ifndef COMPONENTS_HTML_VIEWER_BLINK_BASIC_TYPE_CONVERTERS_H_ 5 #ifndef COMPONENTS_HTML_VIEWER_BLINK_BASIC_TYPE_CONVERTERS_H_
6 #define COMPONENTS_HTML_VIEWER_BLINK_BASIC_TYPE_CONVERTERS_H_ 6 #define COMPONENTS_HTML_VIEWER_BLINK_BASIC_TYPE_CONVERTERS_H_
7 7
8 #include "mojo/public/cpp/bindings/type_converter.h" 8 #include "mojo/public/cpp/bindings/type_converter.h"
9 9
10 #include <stddef.h>
11 #include <stdint.h>
12
10 #include "mojo/public/cpp/bindings/array.h" 13 #include "mojo/public/cpp/bindings/array.h"
11 #include "third_party/WebKit/public/platform/WebVector.h" 14 #include "third_party/WebKit/public/platform/WebVector.h"
12 #include "ui/mojo/geometry/geometry.mojom.h" 15 #include "ui/mojo/geometry/geometry.mojom.h"
13 16
14 namespace blink { 17 namespace blink {
15 struct WebRect; 18 struct WebRect;
16 class WebString; 19 class WebString;
17 } 20 }
18 21
19 namespace mojo { 22 namespace mojo {
(...skipping 27 matching lines...) Expand all
47 Array<T> array(vector.size()); 50 Array<T> array(vector.size());
48 for (size_t i = 0; i < vector.size(); ++i) 51 for (size_t i = 0; i < vector.size(); ++i)
49 array[i] = TypeConverter<T, U>::Convert(vector[i]); 52 array[i] = TypeConverter<T, U>::Convert(vector[i]);
50 return array.Pass(); 53 return array.Pass();
51 } 54 }
52 }; 55 };
53 56
54 } // namespace mojo 57 } // namespace mojo
55 58
56 #endif // COMPONENTS_HTML_VIEWER_BLINK_BASIC_TYPE_CONVERTERS_H_ 59 #endif // COMPONENTS_HTML_VIEWER_BLINK_BASIC_TYPE_CONVERTERS_H_
OLDNEW
« no previous file with comments | « components/html_viewer/ax_provider_impl_unittest.cc ('k') | components/html_viewer/blink_platform_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698