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

Side by Side Diff: mojo/common/common_type_converters.h

Issue 846443006: Include Mojo SDK/EDK via fully-qualified paths in Chromium code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix include to satisfy checkdeps Created 5 years, 11 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 | « mojo/common/DEPS ('k') | mojo/common/data_pipe_utils.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 MOJO_COMMON_COMMON_TYPE_CONVERTERS_H_ 5 #ifndef MOJO_COMMON_COMMON_TYPE_CONVERTERS_H_
6 #define MOJO_COMMON_COMMON_TYPE_CONVERTERS_H_ 6 #define MOJO_COMMON_COMMON_TYPE_CONVERTERS_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "base/strings/string_piece.h" 9 #include "base/strings/string_piece.h"
10 #include "mojo/common/mojo_common_export.h" 10 #include "mojo/common/mojo_common_export.h"
11 #include "mojo/public/cpp/bindings/array.h" 11 #include "third_party/mojo/src/mojo/public/cpp/bindings/array.h"
12 #include "mojo/public/cpp/bindings/string.h" 12 #include "third_party/mojo/src/mojo/public/cpp/bindings/string.h"
13 #include "mojo/public/cpp/bindings/type_converter.h" 13 #include "third_party/mojo/src/mojo/public/cpp/bindings/type_converter.h"
14 14
15 class GURL; 15 class GURL;
16 16
17 namespace mojo { 17 namespace mojo {
18 18
19 template <> 19 template <>
20 struct MOJO_COMMON_EXPORT TypeConverter<String, base::StringPiece> { 20 struct MOJO_COMMON_EXPORT TypeConverter<String, base::StringPiece> {
21 static String Convert(const base::StringPiece& input); 21 static String Convert(const base::StringPiece& input);
22 }; 22 };
23 23
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 }; 56 };
57 57
58 template <> 58 template <>
59 struct MOJO_COMMON_EXPORT TypeConverter<Array<uint8_t>, std::string> { 59 struct MOJO_COMMON_EXPORT TypeConverter<Array<uint8_t>, std::string> {
60 static Array<uint8_t> Convert(const std::string& input); 60 static Array<uint8_t> Convert(const std::string& input);
61 }; 61 };
62 62
63 } // namespace mojo 63 } // namespace mojo
64 64
65 #endif // MOJO_COMMON_COMMON_TYPE_CONVERTERS_H_ 65 #endif // MOJO_COMMON_COMMON_TYPE_CONVERTERS_H_
OLDNEW
« no previous file with comments | « mojo/common/DEPS ('k') | mojo/common/data_pipe_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698