Chromium Code Reviews| Index: chrome/browser/chrome_browser_main_android.cc |
| diff --git a/chrome/browser/chrome_browser_main_android.cc b/chrome/browser/chrome_browser_main_android.cc |
| index 4e05a99efb8c1cacb43d8127db79030e7dfc328c..4110fc84b972fadf06c8519b1d8465786e7e485d 100644 |
| --- a/chrome/browser/chrome_browser_main_android.cc |
| +++ b/chrome/browser/chrome_browser_main_android.cc |
| @@ -4,6 +4,7 @@ |
| #include "chrome/browser/chrome_browser_main_android.h" |
| +#include "base/android/build_info.h" |
| #include "base/command_line.h" |
| #include "base/path_service.h" |
| #include "base/trace_event/trace_event.h" |
| @@ -22,6 +23,7 @@ |
| #include "media/base/android/media_client_android.h" |
| #include "net/android/network_change_notifier_factory_android.h" |
| #include "net/base/network_change_notifier.h" |
| +#include "ui/base/resource/resource_bundle_android.h" |
| #include "ui/base/ui_base_paths.h" |
| ChromeBrowserMainPartsAndroid::ChromeBrowserMainPartsAndroid( |
| @@ -59,6 +61,9 @@ int ChromeBrowserMainPartsAndroid::PreCreateThreads() { |
| crash_dump_manager_.reset(new breakpad::CrashDumpManager(crash_dump_dir)); |
| } |
| + bool has_splits = base::android::BuildInfo::GetInstance()->has_apk_splits(); |
|
Yaron
2015/06/18 20:45:43
how'd you pick here?
agrieve
2015/06/19 01:37:25
This is where webview does it (android_webview/bro
|
| + ui::SetLocalePaksStoredInApk(has_splits); |
| + |
| return ChromeBrowserMainParts::PreCreateThreads(); |
| } |