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

Unified Diff: chrome/browser/chromeos/printing/printers_sync_bridge.cc

Issue 2758643002: Flakiness in SingleClientPrintersSyncTest.EditPrinter (Closed)
Patch Set: all tests Created 3 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 | « no previous file | chrome/browser/sync/test/integration/single_client_printers_sync_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/printing/printers_sync_bridge.cc
diff --git a/chrome/browser/chromeos/printing/printers_sync_bridge.cc b/chrome/browser/chromeos/printing/printers_sync_bridge.cc
index 3fc5cc2c8655f0522d98568c16b340a6418b6b0a..167ac9dca286a26aa62e9d70c4e1bb4be25b706b 100644
--- a/chrome/browser/chromeos/printing/printers_sync_bridge.cc
+++ b/chrome/browser/chromeos/printing/printers_sync_bridge.cc
@@ -86,13 +86,13 @@ class PrintersSyncBridge::StoreProxy {
// Returns a new WriteBatch.
std::unique_ptr<ModelTypeStore::WriteBatch> CreateWriteBatch() {
- CHECK(store_);
+ DCHECK(store_);
return store_->CreateWriteBatch();
}
// Commits writes to the database and updates metadata.
void Commit(std::unique_ptr<ModelTypeStore::WriteBatch> batch) {
- CHECK(store_);
+ DCHECK(store_);
store_->CommitWriteBatch(
std::move(batch),
base::Bind(&StoreProxy::OnCommit, weak_ptr_factory_.GetWeakPtr()));
« no previous file with comments | « no previous file | chrome/browser/sync/test/integration/single_client_printers_sync_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698