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

Side by Side Diff: chrome/browser/cocoa/clear_browsing_data_controller.h

Issue 2769014: Mac/clang: Possibly contentious changes. (Closed)
Patch Set: comments2 Created 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_COCOA_CLEAR_BROWSING_DATA_CONTROLLER_ 5 #ifndef CHROME_BROWSER_COCOA_CLEAR_BROWSING_DATA_CONTROLLER_
6 #define CHROME_BROWSER_COCOA_CLEAR_BROWSING_DATA_CONTROLLER_ 6 #define CHROME_BROWSER_COCOA_CLEAR_BROWSING_DATA_CONTROLLER_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // performs the deletion of the selected browsing data. The values of the 55 // performs the deletion of the selected browsing data. The values of the
56 // checkboxes will be persisted into prefs for next time. 56 // checkboxes will be persisted into prefs for next time.
57 - (void)runModalDialog; 57 - (void)runModalDialog;
58 58
59 // IBActions for the dialog buttons 59 // IBActions for the dialog buttons
60 - (IBAction)clearData:(id)sender; 60 - (IBAction)clearData:(id)sender;
61 - (IBAction)cancel:(id)sender; 61 - (IBAction)cancel:(id)sender;
62 - (IBAction)openFlashPlayerSettings:(id)sender; 62 - (IBAction)openFlashPlayerSettings:(id)sender;
63 63
64 // Properties for bindings 64 // Properties for bindings
65 @property BOOL clearBrowsingHistory; 65 @property (nonatomic) BOOL clearBrowsingHistory;
66 @property BOOL clearDownloadHistory; 66 @property (nonatomic) BOOL clearDownloadHistory;
67 @property BOOL emptyCache; 67 @property (nonatomic) BOOL emptyCache;
68 @property BOOL deleteCookies; 68 @property (nonatomic) BOOL deleteCookies;
69 @property BOOL clearSavedPasswords; 69 @property (nonatomic) BOOL clearSavedPasswords;
70 @property BOOL clearFormData; 70 @property (nonatomic) BOOL clearFormData;
71 @property NSInteger timePeriod; 71 @property (nonatomic) NSInteger timePeriod;
72 @property BOOL isClearing; 72 @property (nonatomic) BOOL isClearing;
73 73
74 @end 74 @end
75 75
76 76
77 @interface ClearBrowsingDataController (ExposedForUnitTests) 77 @interface ClearBrowsingDataController (ExposedForUnitTests)
78 // Create the controller with the given profile (which must not be NULL). 78 // Create the controller with the given profile (which must not be NULL).
79 - (id)initWithProfile:(Profile*)profile; 79 - (id)initWithProfile:(Profile*)profile;
80 @property (readonly) int removeMask; 80 @property (readonly) int removeMask;
81 - (void)persistToPrefs; 81 - (void)persistToPrefs;
82 - (void)closeDialog; 82 - (void)closeDialog;
83 - (void)dataRemoverDidFinish; 83 - (void)dataRemoverDidFinish;
84 @end 84 @end
85 85
86 #endif // CHROME_BROWSER_COCOA_CLEAR_BROWSING_DATA_CONTROLLER_ 86 #endif // CHROME_BROWSER_COCOA_CLEAR_BROWSING_DATA_CONTROLLER_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698