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

Unified Diff: components/sync/model/recording_model_type_change_processor.h

Issue 2867143002: [sync] Check against nullptr web_data_backend->GetDatabase() (Closed)
Patch Set: rebase again Created 3 years, 7 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
Index: components/sync/model/recording_model_type_change_processor.h
diff --git a/components/sync/model/recording_model_type_change_processor.h b/components/sync/model/recording_model_type_change_processor.h
index 59f87e96e74f5d52319bb8c8a16be0389762561f..861ec23207b4bf656dab7c4df23b2f5179d6405a 100644
--- a/components/sync/model/recording_model_type_change_processor.h
+++ b/components/sync/model/recording_model_type_change_processor.h
@@ -48,7 +48,8 @@ class RecordingModelTypeChangeProcessor : public FakeModelTypeChangeProcessor {
// want to verify the RecordingModelTypeChangeProcessor was given data by the
// bridge they are testing.
static ModelTypeSyncBridge::ChangeProcessorFactory FactoryForBridgeTest(
- RecordingModelTypeChangeProcessor** processor_address);
+ RecordingModelTypeChangeProcessor** processor_address,
+ bool expect_error = false);
private:
std::multimap<std::string, std::unique_ptr<EntityData>> put_multimap_;

Powered by Google App Engine
This is Rietveld 408576698