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

Side by Side Diff: chrome/browser/dom_ui/plugins_ui.cc

Issue 2080016: Don't use command line flags for enabling the internal pdf plugin. Instead, ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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/plugin_service.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/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
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 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/plugin_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698