diff options
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/chrome_constants.cc | 2 | ||||
-rw-r--r-- | chrome/common/chrome_switches.cc | 6 | ||||
-rw-r--r-- | chrome/common/chrome_switches.h | 1 |
3 files changed, 8 insertions, 1 deletions
diff --git a/chrome/common/chrome_constants.cc b/chrome/common/chrome_constants.cc index c90e268..2cedf3d 100644 --- a/chrome/common/chrome_constants.cc +++ b/chrome/common/chrome_constants.cc @@ -89,7 +89,7 @@ const FilePath::CharType kFaviconsFilename[] = FPL("Favicons"); const FilePath::CharType kHistoryFilename[] = FPL("History"); const FilePath::CharType kLocalStateFilename[] = FPL("Local State"); const FilePath::CharType kPreferencesFilename[] = FPL("Preferences"); -const FilePath::CharType kSafeBrowsingFilename[] = FPL("Safe Browsing"); +const FilePath::CharType kSafeBrowsingFilename[] = FPL("Safe Browsing Bloom"); // WARNING: SingletonSocket can't contain spaces, because otherwise // chrome_process_util_linux would be broken. const FilePath::CharType kSingletonSocketFilename[] = FPL("SingletonSocket"); diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index 630c4b7..605e740 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -857,6 +857,12 @@ const char kRestoreLastSession[] = "restore-last-session"; // Runs the plugin processes inside the sandbox. const char kSafePlugins[] = "safe-plugins"; +// Select the safe-browsing database storage. "old" for the original +// SQLite-based SafeBrowsingDatabaseBloom, "newsqlite" for the new +// SQLite-based SafeBrowsingDatabase+SafeBrowsingStoreSQLite, and +// "newfile" for SafeBrowsingDatabase+SafeBrowsingStoreFile. +const char kSafeBrowsingDatabaseStore[] = "safe-browsing-database-store"; + // URL prefix used by safebrowsing to fetch hash, download data and // report malware. const char kSbInfoURLPrefix[] = "safebrowsing-info-url-prefix"; diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index 9591d5c..bf1b4b7 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -248,6 +248,7 @@ extern const char kRendererStartupDialog[]; extern const char kRestoreBackgroundContents[]; extern const char kRestoreLastSession[]; extern const char kSafePlugins[]; +extern const char kSafeBrowsingDatabaseStore[]; extern const char kSbInfoURLPrefix[]; extern const char kSbMacKeyURLPrefix[]; extern const char kSbDisableAutoUpdate[]; |