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

Unified Diff: components/resource_provider/resource_provider_impl.cc

Issue 1425853003: mandoline: Fix ICU initialization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to to Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/resource_provider/resource_provider_impl.h ('k') | mandoline/app/desktop/launcher_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/resource_provider/resource_provider_impl.cc
diff --git a/components/resource_provider/resource_provider_impl.cc b/components/resource_provider/resource_provider_impl.cc
index 3f14e7670a47621715f4ec6d17f246c22460e6e9..628c16a8041c141064510b218a1c7c7fee34c456 100644
--- a/components/resource_provider/resource_provider_impl.cc
+++ b/components/resource_provider/resource_provider_impl.cc
@@ -17,8 +17,6 @@ using mojo::ScopedHandle;
namespace resource_provider {
namespace {
-const char kResourceIcudtl[] = "icudtl.dat";
-
ScopedHandle GetHandleForPath(const base::FilePath& path) {
if (path.empty())
return ScopedHandle();
@@ -68,12 +66,4 @@ void ResourceProviderImpl::GetResources(mojo::Array<mojo::String> paths,
callback.Run(handles.Pass());
}
-void ResourceProviderImpl::GetICUHandle(const GetICUHandleCallback& callback) {
- const base::FilePath resource_app_path(
- GetPathForApplicationUrl(resource_provider_app_url_));
- mojo::ScopedHandle handle = GetHandleForPath(
- GetPathForResourceNamed(resource_app_path, kResourceIcudtl));
- callback.Run(handle.Pass());
-}
-
} // namespace resource_provider
« no previous file with comments | « components/resource_provider/resource_provider_impl.h ('k') | mandoline/app/desktop/launcher_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698