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

Side by Side Diff: chrome/browser/prefs/browser_prefs.cc

Issue 2254273003: Remove text encoding UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 4 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include "chrome/browser/prefs/browser_prefs.h" 5 #include "chrome/browser/prefs/browser_prefs.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/metrics/histogram_macros.h" 10 #include "base/metrics/histogram_macros.h"
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 } 732 }
733 profile_prefs->ClearPref(kCheckDefaultBrowser); 733 profile_prefs->ClearPref(kCheckDefaultBrowser);
734 734
735 // Added 5/2016. 735 // Added 5/2016.
736 profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref); 736 profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref);
737 737
738 // Added 7/2016. 738 // Added 7/2016.
739 DeleteWebRTCIdentityStoreDB(profile); 739 DeleteWebRTCIdentityStoreDB(profile);
740 profile_prefs->ClearPref(kNetworkPredictionEnabled); 740 profile_prefs->ClearPref(kNetworkPredictionEnabled);
741 profile_prefs->ClearPref(kDisableSpdy); 741 profile_prefs->ClearPref(kDisableSpdy);
742
743 // Added 8/2016
msw 2016/08/23 23:10:55 nit: trailing period.
Jinsuk Kim 2016/08/24 08:23:42 Done.
744 profile_prefs->ClearPref(prefs::kStaticEncodings);
msw 2016/08/23 23:10:55 I think you still need to actually register these
Jinsuk Kim 2016/08/24 08:23:42 Registered them in |RegisterProfilePrefs| in this
745 profile_prefs->ClearPref(prefs::kRecentlySelectedEncoding);
742 } 746 }
743 747
744 } // namespace chrome 748 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698