diff options
Diffstat (limited to 'src/core/web_engine_library_info.cpp')
-rw-r--r-- | src/core/web_engine_library_info.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/core/web_engine_library_info.cpp b/src/core/web_engine_library_info.cpp index 835fe8bba..573e16319 100644 --- a/src/core/web_engine_library_info.cpp +++ b/src/core/web_engine_library_info.cpp @@ -223,20 +223,6 @@ QString localesPath() } // namespace -#if defined(OS_ANDROID) -namespace base { -// Replace the Android base path provider that depends on jni. -// With this we avoid patching chromium which we would need since -// PathService registers PathProviderAndroid by default on Android. -bool PathProviderAndroid(int key, FilePath* result) -{ - *result = WebEngineLibraryInfo::getPath(key); - return !(result->empty()); -} - -} -#endif // defined(OS_ANDROID) - base::FilePath WebEngineLibraryInfo::getPath(int key) { QString directory; @@ -267,13 +253,6 @@ base::FilePath WebEngineLibraryInfo::getPath(int key) #else return toFilePath(location(QLibraryInfo::DataPath)); #endif -#if defined(OS_ANDROID) - case base::DIR_SOURCE_ROOT: - case base::DIR_ANDROID_EXTERNAL_STORAGE: - case base::DIR_ANDROID_APP_DATA: - directory = QStandardPaths::writableLocation(QStandardPaths::DataLocation); - break; -#endif case content::DIR_MEDIA_LIBS: return toFilePath(pluginsPath()); case ui::DIR_LOCALES: |