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

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

Issue 1150563003: Rename InterfacePtr's WaitForIncomingMethodCall() -> WaitForIncomingResponse(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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 | « examples/surfaces_app/child_impl.cc ('k') | mojo/public/cpp/bindings/interface_ptr.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 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 "services/icu_data/icu_data.mojom.h" 9 #include "services/icu_data/icu_data.mojom.h"
10 #include "third_party/icu/source/common/unicode/putil.h" 10 #include "third_party/icu/source/common/unicode/putil.h"
(...skipping 26 matching lines...) Expand all
37 #if !defined(OS_ANDROID) 37 #if !defined(OS_ANDROID)
38 // On desktop platforms, the icu data table is stored in a file on disk, which 38 // On desktop platforms, the icu data table is stored in a file on disk, which
39 // can be loaded using base. 39 // can be loaded using base.
40 base::i18n::InitializeICU(); 40 base::i18n::InitializeICU();
41 return; 41 return;
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.WaitForIncomingMethodCall(); 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 | « examples/surfaces_app/child_impl.cc ('k') | mojo/public/cpp/bindings/interface_ptr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698