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

Unified Diff: chrome/browser/cocoa/clear_browsing_data_controller.h

Issue 151095: Added unit tests for ClearBrowsingDataController.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 6 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: chrome/browser/cocoa/clear_browsing_data_controller.h
===================================================================
--- chrome/browser/cocoa/clear_browsing_data_controller.h (revision 19487)
+++ chrome/browser/cocoa/clear_browsing_data_controller.h (working copy)
@@ -28,7 +28,7 @@
scoped_ptr<ClearBrowsingObserver> observer_;
BOOL isClearing_; // YES while clearing data is ongoing.
IBOutlet ThrobberView* progress_;
-
+
// Values for checkboxes, kept in sync with bindings. These values get
// persisted into prefs if the user accepts the dialog.
BOOL clearBrowsingHistory_;
@@ -64,4 +64,10 @@
@end
+
+@interface ClearBrowsingDataController (ExposedForUnitTests)
+@property (readonly) int removeMask;
+- (void)persistToPrefs;
+@end
+
#endif // CHROME_BROWSER_COCOA_CLEAR_BROWSING_DATA_CONTROLLER_

Powered by Google App Engine
This is Rietveld 408576698