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

Side by Side Diff: chrome/browser/ui/options/options_util.cc

Issue 6122008: Also delete plugin data when the cookies checkbox in the clear browsing data dialog is checked. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 years, 11 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 | « chrome/browser/ui/browser.cc ('k') | chrome/common/pref_names.h » ('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) 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 #include "chrome/browser/ui/options/options_util.h" 5 #include "chrome/browser/ui/options/options_util.h"
6 6
7 #include "base/threading/thread_restrictions.h" 7 #include "base/threading/thread_restrictions.h"
8 #include "chrome/browser/browser_process.h" 8 #include "chrome/browser/browser_process.h"
9 #include "chrome/browser/download/download_manager.h" 9 #include "chrome/browser/download/download_manager.h"
10 #include "chrome/browser/download/download_prefs.h" 10 #include "chrome/browser/download/download_prefs.h"
(...skipping 19 matching lines...) Expand all
30 prefs::kClearPluginLSODataOnExit, 30 prefs::kClearPluginLSODataOnExit,
31 prefs::kClearSiteDataOnExit, 31 prefs::kClearSiteDataOnExit,
32 prefs::kCookieBehavior, 32 prefs::kCookieBehavior,
33 prefs::kDefaultCharset, 33 prefs::kDefaultCharset,
34 prefs::kDefaultZoomLevel, 34 prefs::kDefaultZoomLevel,
35 prefs::kDeleteBrowsingHistory, 35 prefs::kDeleteBrowsingHistory,
36 prefs::kDeleteCache, 36 prefs::kDeleteCache,
37 prefs::kDeleteCookies, 37 prefs::kDeleteCookies,
38 prefs::kDeleteDownloadHistory, 38 prefs::kDeleteDownloadHistory,
39 prefs::kDeleteFormData, 39 prefs::kDeleteFormData,
40 prefs::kDeleteLSOData,
41 prefs::kDeletePasswords, 40 prefs::kDeletePasswords,
42 prefs::kDnsPrefetchingEnabled, 41 prefs::kDnsPrefetchingEnabled,
43 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_OPENBSD) 42 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_OPENBSD)
44 prefs::kCertRevocationCheckingEnabled, 43 prefs::kCertRevocationCheckingEnabled,
45 prefs::kSSL3Enabled, 44 prefs::kSSL3Enabled,
46 prefs::kTLS1Enabled, 45 prefs::kTLS1Enabled,
47 #endif 46 #endif
48 #if defined(OS_CHROMEOS) 47 #if defined(OS_CHROMEOS)
49 prefs::kTapToClickEnabled, 48 prefs::kTapToClickEnabled,
50 prefs::kTouchpadSensitivity, 49 prefs::kTouchpadSensitivity,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 if (metrics) { 124 if (metrics) {
126 metrics->SetUserPermitsUpload(enabled); 125 metrics->SetUserPermitsUpload(enabled);
127 if (enabled) 126 if (enabled)
128 metrics->Start(); 127 metrics->Start();
129 else 128 else
130 metrics->Stop(); 129 metrics->Stop();
131 } 130 }
132 131
133 return enabled; 132 return enabled;
134 } 133 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698