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

Side by Side Diff: chrome/browser/ui/webui/options/clear_browser_data_handler.h

Issue 11000022: Sanity checks to make sure we are not trying to clear Content Licenses when Flash Pepper is not in … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/clear_browser_data_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_UI_WEBUI_OPTIONS_CLEAR_BROWSER_DATA_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CLEAR_BROWSER_DATA_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CLEAR_BROWSER_DATA_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CLEAR_BROWSER_DATA_HANDLER_H_
7 7
8 #include "chrome/browser/api/prefs/pref_member.h" 8 #include "chrome/browser/api/prefs/pref_member.h"
9 #include "chrome/browser/browsing_data/browsing_data_remover.h" 9 #include "chrome/browser/browsing_data/browsing_data_remover.h"
10 #include "chrome/browser/ui/webui/options/options_ui.h" 10 #include "chrome/browser/ui/webui/options/options_ui.h"
(...skipping 22 matching lines...) Expand all
33 // Closes the dialog once all requested data has been removed. 33 // Closes the dialog once all requested data has been removed.
34 virtual void OnBrowsingDataRemoverDone() OVERRIDE; 34 virtual void OnBrowsingDataRemoverDone() OVERRIDE;
35 35
36 // If non-null it means removal is in progress. BrowsingDataRemover takes care 36 // If non-null it means removal is in progress. BrowsingDataRemover takes care
37 // of deleting itself when done. 37 // of deleting itself when done.
38 BrowsingDataRemover* remover_; 38 BrowsingDataRemover* remover_;
39 39
40 // Keeps track of whether clearing LSO data is supported. 40 // Keeps track of whether clearing LSO data is supported.
41 BooleanPrefMember clear_plugin_lso_data_enabled_; 41 BooleanPrefMember clear_plugin_lso_data_enabled_;
42 42
43 // Keeps track of whether Pepper Flash is enabled and thus Flapper-specific
44 // settings and removal options (e.g. Content Licenses) are available.
45 BooleanPrefMember pepper_flash_settings_enabled_;
46
43 DISALLOW_COPY_AND_ASSIGN(ClearBrowserDataHandler); 47 DISALLOW_COPY_AND_ASSIGN(ClearBrowserDataHandler);
44 }; 48 };
45 49
46 } // namespace options 50 } // namespace options
47 51
48 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CLEAR_BROWSER_DATA_HANDLER_H_ 52 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CLEAR_BROWSER_DATA_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/clear_browser_data_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698