| OLD | NEW |
| 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/dom_ui/plugins_ui.h" | 5 #include "chrome/browser/dom_ui/plugins_ui.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 } | 311 } |
| 312 | 312 |
| 313 // static | 313 // static |
| 314 void PluginsUI::RegisterUserPrefs(PrefService* prefs) { | 314 void PluginsUI::RegisterUserPrefs(PrefService* prefs) { |
| 315 FilePath internal_dir; | 315 FilePath internal_dir; |
| 316 PathService::Get(chrome::DIR_INTERNAL_PLUGINS, &internal_dir); | 316 PathService::Get(chrome::DIR_INTERNAL_PLUGINS, &internal_dir); |
| 317 prefs->RegisterFilePathPref(prefs::kPluginsLastInternalDirectory, | 317 prefs->RegisterFilePathPref(prefs::kPluginsLastInternalDirectory, |
| 318 internal_dir); | 318 internal_dir); |
| 319 | 319 |
| 320 prefs->RegisterListPref(prefs::kPluginsPluginsList); | 320 prefs->RegisterListPref(prefs::kPluginsPluginsList); |
| 321 prefs->RegisterBooleanPref(prefs::kPluginsEnabledInternalPDF, false); |
| 321 } | 322 } |
| OLD | NEW |