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

Side by Side Diff: mojo/shell/public/cpp/initialize_base_and_icu.cc

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 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
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 // This file declares a raw symbol and should be included only once in a 5 // This file declares a raw symbol and should be included only once in a
6 // certain binary target. This needs to be run before we raise the sandbox, 6 // certain binary target. This needs to be run before we raise the sandbox,
7 // which means that it can't use mojo. Our runners will dig around in the 7 // which means that it can't use mojo. Our runners will dig around in the
8 // symbol table and run this before the mojo system is initialized. 8 // symbol table and run this before the mojo system is initialized.
9 9
10 #include <stdint.h> 10 #include <stdint.h>
(...skipping 30 matching lines...) Expand all
41 41
42 #if !defined(OS_ANDROID) 42 #if !defined(OS_ANDROID)
43 // ICU DateFormat class (used in base/time_format.cc) needs to get the 43 // ICU DateFormat class (used in base/time_format.cc) needs to get the
44 // Olson timezone ID by accessing the zoneinfo files on disk. After 44 // Olson timezone ID by accessing the zoneinfo files on disk. After
45 // TimeZone::createDefault is called once here, the timezone ID is 45 // TimeZone::createDefault is called once here, the timezone ID is
46 // cached and there's no more need to access the file system. 46 // cached and there's no more need to access the file system.
47 scoped_ptr<icu::TimeZone> zone(icu::TimeZone::createDefault()); 47 scoped_ptr<icu::TimeZone> zone(icu::TimeZone::createDefault());
48 #endif 48 #endif
49 } 49 }
50 } 50 }
OLDNEW
« no previous file with comments | « mojo/shell/public/cpp/content_handler_factory.h ('k') | mojo/shell/public/cpp/interface_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698