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

Unified Diff: chrome/browser/prefs/tracked/pref_hash_filter_unittest.cc

Issue 1053663003: Cleanup: Remove unused variables in chrome/ found by Scythe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/net/chrome_network_delegate.cc ('k') | chrome/browser/profiles/profile_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/tracked/pref_hash_filter_unittest.cc
diff --git a/chrome/browser/prefs/tracked/pref_hash_filter_unittest.cc b/chrome/browser/prefs/tracked/pref_hash_filter_unittest.cc
index bba1b9e54a92a53678edee183bd4706cb1eb365e..9f5649369c7f8c46bf6c1ba34653444972d5c21f 100644
--- a/chrome/browser/prefs/tracked/pref_hash_filter_unittest.cc
+++ b/chrome/browser/prefs/tracked/pref_hash_filter_unittest.cc
@@ -220,13 +220,7 @@ class MockPrefHashStore : public PrefHashStore {
std::map<std::string, ValuePtrStrategyPair> checked_values_;
std::map<std::string, ValuePtrStrategyPair> stored_values_;
- // Number of transactions that are expected to be performed in the scope of
- // this test (defaults to 1).
- size_t transactions_expected_;
-
// Number of transactions that were performed via this MockPrefHashStore.
- // Verified to match |transactions_expected_| when this MockPrefHashStore is
- // deleted.
size_t transactions_performed_;
// Whether a transaction is currently active (only one transaction should be
@@ -370,7 +364,6 @@ class PrefHashFilterTest
public:
PrefHashFilterTest() : mock_pref_hash_store_(NULL),
pref_store_contents_(new base::DictionaryValue),
- last_filter_on_load_modified_prefs_(false),
reset_recorded_(false) {}
void SetUp() override {
@@ -423,7 +416,6 @@ class PrefHashFilterTest
MockPrefHashStore* mock_pref_hash_store_;
scoped_ptr<base::DictionaryValue> pref_store_contents_;
- bool last_filter_on_load_modified_prefs_;
MockValidationDelegate mock_validation_delegate_;
scoped_ptr<PrefHashFilter> pref_hash_filter_;
« no previous file with comments | « chrome/browser/net/chrome_network_delegate.cc ('k') | chrome/browser/profiles/profile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698