Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5566)

Unified Diff: chrome/browser/webdata/web_database_service_impl.cc

Issue 12656004: Removes now-useless DCHECKs as per discussion with atwilson@. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/webdata/web_data_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/webdata/web_database_service_impl.cc
diff --git a/chrome/browser/webdata/web_database_service_impl.cc b/chrome/browser/webdata/web_database_service_impl.cc
index 9daa408858b750045cb6851b1d492c5966ba4898..eac56f4307cff6b950a8b92ada2816a73c622367 100644
--- a/chrome/browser/webdata/web_database_service_impl.cc
+++ b/chrome/browser/webdata/web_database_service_impl.cc
@@ -182,8 +182,6 @@ void WebDatabaseServiceInternal::Commit() {
////////////////////////////////////////////////////////////////////////////////
WebDatabaseServiceImpl::WebDatabaseServiceImpl(const base::FilePath& path)
: path_(path) {
- // Do not start WebDatabaseService on ImportProcess.
- DCHECK(!ProfileManager::IsImportProcess(*CommandLine::ForCurrentProcess()));
// WebDatabaseService should be instantiated on UI thread.
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
// WebDatabaseService requires DB thread if instantiated.
« no previous file with comments | « chrome/browser/webdata/web_data_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698