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

Side by Side Diff: chrome/browser/mock_browsing_data_database_helper.h

Issue 10680013: Remove unused fields found by clang's new Wunused-private-fields. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_MOCK_BROWSING_DATA_DATABASE_HELPER_H_ 5 #ifndef CHROME_BROWSER_MOCK_BROWSING_DATA_DATABASE_HELPER_H_
6 #define CHROME_BROWSER_MOCK_BROWSING_DATA_DATABASE_HELPER_H_ 6 #define CHROME_BROWSER_MOCK_BROWSING_DATA_DATABASE_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 28 matching lines...) Expand all
39 // deleted. 39 // deleted.
40 bool AllDeleted(); 40 bool AllDeleted();
41 41
42 std::string last_deleted_origin_; 42 std::string last_deleted_origin_;
43 43
44 std::string last_deleted_db_; 44 std::string last_deleted_db_;
45 45
46 private: 46 private:
47 virtual ~MockBrowsingDataDatabaseHelper(); 47 virtual ~MockBrowsingDataDatabaseHelper();
48 48
49 Profile* profile_;
50
51 base::Callback<void(const std::list<DatabaseInfo>&)> callback_; 49 base::Callback<void(const std::list<DatabaseInfo>&)> callback_;
52 50
53 // Stores which databases exist. 51 // Stores which databases exist.
54 std::map<const std::string, bool> databases_; 52 std::map<const std::string, bool> databases_;
55 53
56 std::list<DatabaseInfo> response_; 54 std::list<DatabaseInfo> response_;
57 }; 55 };
58 56
59 #endif // CHROME_BROWSER_MOCK_BROWSING_DATA_DATABASE_HELPER_H_ 57 #endif // CHROME_BROWSER_MOCK_BROWSING_DATA_DATABASE_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/managed_mode_unittest.cc ('k') | chrome/browser/mock_browsing_data_database_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698