Chromium Code Reviews| Index: webkit/database/database_tracker.h |
| diff --git a/webkit/database/database_tracker.h b/webkit/database/database_tracker.h |
| index 709e66215cd7c63293af51110f9608dae1078fd6..41e37bf083c5eb3f538341bbbef60156428b5525 100644 |
| --- a/webkit/database/database_tracker.h |
| +++ b/webkit/database/database_tracker.h |
| @@ -165,9 +165,8 @@ class DatabaseTracker |
| bool HasSavedIncognitoFileHandle(const string16& vfs_file_path) const; |
| // Shutdown the database tracker, deleting database files if the tracker is |
| - // used for an incognito profile or |clear_local_state_on_exit_| is true. |
| + // used for an incognito profile. |
| void Shutdown(); |
| - void SetClearLocalStateOnExit(bool clear_local_state_on_exit); |
| // Disables the exit-time deletion for all data (also session-only data). |
| void SaveSessionState(); |
| @@ -205,10 +204,8 @@ class DatabaseTracker |
| // Deletes the directory that stores all DBs in incognito mode, if it exists. |
| void DeleteIncognitoDBDirectory(); |
| - // If clear_all_databases is true, deletes all databases not protected by |
| - // special storage policy. Otherwise deletes session-only databases. Blocks |
| - // databases from being created/opened. |
| - void ClearLocalState(bool clear_all_databases); |
| + // Deletes session-only databases. Blocks databases from being created/opened. |
| + void ClearLocalState(); |
|
michaeln
2012/06/01 02:06:17
ditto name is off now
|
| bool DeleteClosedDatabase(const string16& origin_identifier, |
| const string16& database_name); |
| @@ -261,7 +258,6 @@ class DatabaseTracker |
| bool is_initialized_; |
| const bool is_incognito_; |
| - bool clear_local_state_on_exit_; |
| bool save_session_state_; |
| bool shutting_down_; |
| const FilePath profile_path_; |