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

Side by Side Diff: mojo/icu/icu.cc

Issue 1398973004: Move //mojo/services/X/public/... to //mojo/services/X/... (part 2). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_1
Patch Set: add missing copyright notices Created 5 years, 2 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/icu/BUILD.gn ('k') | mojo/services/geometry/cpp/BUILD.gn » ('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 "mojo/icu/icu.h" 5 #include "mojo/icu/icu.h"
6 6
7 #include "mojo/icu/constants.h" 7 #include "mojo/icu/constants.h"
8 #include "mojo/public/cpp/application/application_impl.h" 8 #include "mojo/public/cpp/application/application_impl.h"
9 #include "mojo/services/icu_data/public/interfaces/icu_data.mojom.h" 9 #include "mojo/services/icu_data/interfaces/icu_data.mojom.h"
10 #include "third_party/icu/source/common/unicode/putil.h" 10 #include "third_party/icu/source/common/unicode/putil.h"
11 #include "third_party/icu/source/common/unicode/udata.h" 11 #include "third_party/icu/source/common/unicode/udata.h"
12 12
13 #if !defined(OS_ANDROID) 13 #if !defined(OS_ANDROID)
14 #include "base/i18n/icu_util.h" 14 #include "base/i18n/icu_util.h"
15 #endif 15 #endif
16 16
17 namespace mojo { 17 namespace mojo {
18 namespace icu { 18 namespace icu {
19 namespace { 19 namespace {
(...skipping 22 matching lines...) Expand all
42 #endif 42 #endif
43 43
44 icu_data::ICUDataPtr icu_data; 44 icu_data::ICUDataPtr icu_data;
45 app->ConnectToService("mojo:icu_data", &icu_data); 45 app->ConnectToService("mojo:icu_data", &icu_data);
46 icu_data->Map(kDataHash, Callback()); 46 icu_data->Map(kDataHash, Callback());
47 icu_data.WaitForIncomingResponse(); 47 icu_data.WaitForIncomingResponse();
48 } 48 }
49 49
50 } // namespace icu 50 } // namespace icu
51 } // namespace mojo 51 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/icu/BUILD.gn ('k') | mojo/services/geometry/cpp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698