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

Side by Side Diff: chrome/browser/plugins/plugin_prefs_factory.cc

Issue 12463018: Merge 185431 - Ignore the disabled state of component-updated PPAPI Flash for once. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1364/src/
Patch Set: Created 7 years, 9 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/plugins/plugin_prefs.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) 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 #include "chrome/browser/plugins/plugin_prefs_factory.h" 5 #include "chrome/browser/plugins/plugin_prefs_factory.h"
6 6
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "chrome/browser/plugins/plugin_prefs.h" 8 #include "chrome/browser/plugins/plugin_prefs.h"
9 #include "chrome/browser/prefs/pref_service.h" 9 #include "chrome/browser/prefs/pref_service.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 PrefService::UNSYNCABLE_PREF); 55 PrefService::UNSYNCABLE_PREF);
56 prefs->RegisterBooleanPref(prefs::kPluginsEnabledInternalPDF, 56 prefs->RegisterBooleanPref(prefs::kPluginsEnabledInternalPDF,
57 false, 57 false,
58 PrefService::UNSYNCABLE_PREF); 58 PrefService::UNSYNCABLE_PREF);
59 prefs->RegisterBooleanPref(prefs::kPluginsEnabledNaCl, 59 prefs->RegisterBooleanPref(prefs::kPluginsEnabledNaCl,
60 false, 60 false,
61 PrefService::UNSYNCABLE_PREF); 61 PrefService::UNSYNCABLE_PREF);
62 prefs->RegisterBooleanPref(prefs::kPluginsMigratedToPepperFlash, 62 prefs->RegisterBooleanPref(prefs::kPluginsMigratedToPepperFlash,
63 false, 63 false,
64 PrefService::UNSYNCABLE_PREF); 64 PrefService::UNSYNCABLE_PREF);
65 prefs->RegisterBooleanPref(
66 prefs::kPluginsRemovedOldComponentPepperFlashSettings,
67 false,
68 PrefService::UNSYNCABLE_PREF);
65 prefs->RegisterListPref(prefs::kPluginsPluginsList, 69 prefs->RegisterListPref(prefs::kPluginsPluginsList,
66 PrefService::UNSYNCABLE_PREF); 70 PrefService::UNSYNCABLE_PREF);
67 prefs->RegisterListPref(prefs::kPluginsDisabledPlugins, 71 prefs->RegisterListPref(prefs::kPluginsDisabledPlugins,
68 PrefService::UNSYNCABLE_PREF); 72 PrefService::UNSYNCABLE_PREF);
69 prefs->RegisterListPref(prefs::kPluginsDisabledPluginsExceptions, 73 prefs->RegisterListPref(prefs::kPluginsDisabledPluginsExceptions,
70 PrefService::UNSYNCABLE_PREF); 74 PrefService::UNSYNCABLE_PREF);
71 prefs->RegisterListPref(prefs::kPluginsEnabledPlugins, 75 prefs->RegisterListPref(prefs::kPluginsEnabledPlugins,
72 PrefService::UNSYNCABLE_PREF); 76 PrefService::UNSYNCABLE_PREF);
73 } 77 }
74 78
75 bool PluginPrefsFactory::ServiceRedirectedInIncognito() const { 79 bool PluginPrefsFactory::ServiceRedirectedInIncognito() const {
76 return true; 80 return true;
77 } 81 }
78 82
79 bool PluginPrefsFactory::ServiceIsNULLWhileTesting() const { 83 bool PluginPrefsFactory::ServiceIsNULLWhileTesting() const {
80 return true; 84 return true;
81 } 85 }
82 86
83 bool PluginPrefsFactory::ServiceIsCreatedWithProfile() const { 87 bool PluginPrefsFactory::ServiceIsCreatedWithProfile() const {
84 return true; 88 return true;
85 } 89 }
OLDNEW
« no previous file with comments | « chrome/browser/plugins/plugin_prefs.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698