Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
[Android] Preserve websql databases when migrating from webview to cr…
Browse files Browse the repository at this point in the history
…osswalk

SQLite Databases that are created using the window.openDatabase with
System WebVieware not accessible in Crosswalk, the databases need to
be moved to Crosswalk profile directory.

BUG=XWALK-7368 XWALK-4488
  • Loading branch information
fujunwei committed Dec 19, 2016
1 parent 1e19200 commit 136cf6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/browser/xwalk_browser_main_parts_android.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ void ImportKitkatDataIfNecessary(const base::FilePath& old_data_dir,
"Cookies-journal",
"IndexedDB",
"Local Storage",
"databases",
};
for (size_t i = 0; i < arraysize(possible_data_dir_names); i++) {
base::FilePath dir = old_data_dir.Append(possible_data_dir_names[i]);
Expand Down

0 comments on commit 136cf6e

Please sign in to comment.