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

Unified Diff: chrome/browser/browsing_data/browsing_data_remover_unittest.cc

Issue 2336043007: Domain Reliability: Don't crash on shutdown with uploads pending (Closed)
Patch Set: Remove outdated comment. Created 4 years 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/domain_reliability/browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data/browsing_data_remover_unittest.cc
diff --git a/chrome/browser/browsing_data/browsing_data_remover_unittest.cc b/chrome/browser/browsing_data/browsing_data_remover_unittest.cc
index 842d930827d7d16249328fc1a8db87bb2041b387..fdd1961307276b12db75f0ee1a5d4bdf2bcb41cf 100644
--- a/chrome/browser/browsing_data/browsing_data_remover_unittest.cc
+++ b/chrome/browser/browsing_data/browsing_data_remover_unittest.cc
@@ -19,6 +19,7 @@
#include "base/files/file_util.h"
#include "base/guid.h"
#include "base/location.h"
+#include "base/logging.h"
#include "base/macros.h"
#include "base/memory/ptr_util.h"
#include "base/message_loop/message_loop.h"
@@ -885,6 +886,18 @@ class MockDomainReliabilityService : public DomainReliabilityService {
NOTREACHED();
}
+ void SetDiscardUploadsForTesting(bool discard_uploads) override {
+ NOTREACHED();
+ }
+
+ void AddContextForTesting(
+ std::unique_ptr<const domain_reliability::DomainReliabilityConfig> config)
+ override {
+ NOTREACHED();
+ }
+
+ void ForceUploadsForTesting() override { NOTREACHED(); }
+
int clear_count() const { return clear_count_; }
DomainReliabilityClearMode last_clear_mode() const {
« no previous file with comments | « no previous file | chrome/browser/domain_reliability/browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698