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

Side by Side Diff: base/i18n/icu_util.cc

Issue 15078003: Cleanup: Remove unneeded base/file_util.h includes in base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: rebase Created 7 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 | Annotate | Revision Log
« no previous file with comments | « base/files/file_util_proxy_unittest.cc ('k') | base/memory/singleton_unittest.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/i18n/icu_util.h" 5 #include "base/i18n/icu_util.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #if defined(OS_WIN) 9 #if defined(OS_WIN)
10 #include <windows.h> 10 #include <windows.h>
11 #endif 11 #endif
12 12
13 #include <string> 13 #include <string>
14 14
15 #include "base/file_util.h"
16 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
17 #include "base/files/memory_mapped_file.h" 16 #include "base/files/memory_mapped_file.h"
18 #include "base/logging.h" 17 #include "base/logging.h"
19 #include "base/path_service.h" 18 #include "base/path_service.h"
20 #include "base/string_util.h" 19 #include "base/string_util.h"
21 #include "base/strings/sys_string_conversions.h" 20 #include "base/strings/sys_string_conversions.h"
22 #include "third_party/icu/public/common/unicode/putil.h" 21 #include "third_party/icu/public/common/unicode/putil.h"
23 #include "third_party/icu/public/common/unicode/udata.h" 22 #include "third_party/icu/public/common/unicode/udata.h"
24 23
25 #if defined(OS_MACOSX) 24 #if defined(OS_MACOSX)
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 } 126 }
128 } 127 }
129 UErrorCode err = U_ZERO_ERROR; 128 UErrorCode err = U_ZERO_ERROR;
130 udata_setCommonData(const_cast<uint8*>(mapped_file.data()), &err); 129 udata_setCommonData(const_cast<uint8*>(mapped_file.data()), &err);
131 return err == U_ZERO_ERROR; 130 return err == U_ZERO_ERROR;
132 #endif // OS check 131 #endif // OS check
133 #endif 132 #endif
134 } 133 }
135 134
136 } // namespace icu_util 135 } // namespace icu_util
OLDNEW
« no previous file with comments | « base/files/file_util_proxy_unittest.cc ('k') | base/memory/singleton_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698