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

Side by Side Diff: components/mus/public/cpp/lib/property_type_converters.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/mus/public/cpp/property_type_converters.h" 5 #include "components/mus/public/cpp/property_type_converters.h"
6 6
7 #include <stdint.h>
8
7 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
8 #include "ui/gfx/geometry/rect.h" 10 #include "ui/gfx/geometry/rect.h"
9 #include "ui/gfx/geometry/size.h" 11 #include "ui/gfx/geometry/size.h"
10 12
11 namespace mojo { 13 namespace mojo {
12 14
13 // static 15 // static
14 const std::vector<uint8_t> 16 const std::vector<uint8_t>
15 TypeConverter<const std::vector<uint8_t>, gfx::Rect>::Convert( 17 TypeConverter<const std::vector<uint8_t>, gfx::Rect>::Convert(
16 const gfx::Rect& input) { 18 const gfx::Rect& input) {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 113
112 // static 114 // static
113 std::string 115 std::string
114 TypeConverter<std::string, const std::vector<uint8_t>>::Convert( 116 TypeConverter<std::string, const std::vector<uint8_t>>::Convert(
115 const std::vector<uint8_t>& input) { 117 const std::vector<uint8_t>& input) {
116 return std::string(input.begin(), input.end()); 118 return std::string(input.begin(), input.end());
117 } 119 }
118 120
119 } // namespace mojo 121 } // namespace mojo
120 122
OLDNEW
« no previous file with comments | « components/mus/public/cpp/lib/in_flight_change.h ('k') | components/mus/public/cpp/lib/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698