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

Side by Side Diff: chrome/browser/ui/webui/plugins_ui.cc

Issue 10933044: Move chrome/browser/plugin_* to chrome/browser/plugins/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@remove_plugin_group
Patch Set: . Created 8 years, 3 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
« no previous file with comments | « chrome/browser/ui/webui/options/core_options_handler.h ('k') | chrome/chrome_browser.gypi » ('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/ui/webui/plugins_ui.h" 5 #include "chrome/browser/ui/webui/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
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
13 #include "base/memory/ref_counted_memory.h" 13 #include "base/memory/ref_counted_memory.h"
14 #include "base/memory/singleton.h" 14 #include "base/memory/singleton.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "base/message_loop.h" 16 #include "base/message_loop.h"
17 #include "base/path_service.h" 17 #include "base/path_service.h"
18 #include "base/utf_string_conversions.h" 18 #include "base/utf_string_conversions.h"
19 #include "base/values.h" 19 #include "base/values.h"
20 #include "chrome/browser/api/prefs/pref_member.h" 20 #include "chrome/browser/api/prefs/pref_member.h"
21 #include "chrome/browser/content_settings/host_content_settings_map.h" 21 #include "chrome/browser/content_settings/host_content_settings_map.h"
22 #include "chrome/browser/plugin_finder.h" 22 #include "chrome/browser/plugins/plugin_finder.h"
23 #include "chrome/browser/plugin_installer.h" 23 #include "chrome/browser/plugins/plugin_installer.h"
24 #include "chrome/browser/plugin_prefs.h" 24 #include "chrome/browser/plugins/plugin_prefs.h"
25 #include "chrome/browser/prefs/pref_service.h" 25 #include "chrome/browser/prefs/pref_service.h"
26 #include "chrome/browser/prefs/scoped_user_pref_update.h" 26 #include "chrome/browser/prefs/scoped_user_pref_update.h"
27 #include "chrome/browser/profiles/profile.h" 27 #include "chrome/browser/profiles/profile.h"
28 #include "chrome/browser/ui/browser.h" 28 #include "chrome/browser/ui/browser.h"
29 #include "chrome/browser/ui/browser_window.h" 29 #include "chrome/browser/ui/browser_window.h"
30 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" 30 #include "chrome/browser/ui/webui/chrome_url_data_manager.h"
31 #include "chrome/browser/ui/webui/chrome_web_ui_data_source.h" 31 #include "chrome/browser/ui/webui/chrome_web_ui_data_source.h"
32 #include "chrome/common/chrome_content_client.h" 32 #include "chrome/common/chrome_content_client.h"
33 #include "chrome/common/chrome_notification_types.h" 33 #include "chrome/common/chrome_notification_types.h"
34 #include "chrome/common/chrome_paths.h" 34 #include "chrome/common/chrome_paths.h"
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 void PluginsUI::RegisterUserPrefs(PrefService* prefs) { 501 void PluginsUI::RegisterUserPrefs(PrefService* prefs) {
502 prefs->RegisterBooleanPref(prefs::kPluginsShowDetails, 502 prefs->RegisterBooleanPref(prefs::kPluginsShowDetails,
503 false, 503 false,
504 PrefService::UNSYNCABLE_PREF); 504 PrefService::UNSYNCABLE_PREF);
505 prefs->RegisterBooleanPref(prefs::kPluginsShowSetReaderDefaultInfobar, 505 prefs->RegisterBooleanPref(prefs::kPluginsShowSetReaderDefaultInfobar,
506 true, 506 true,
507 PrefService::UNSYNCABLE_PREF); 507 PrefService::UNSYNCABLE_PREF);
508 prefs->RegisterDictionaryPref(prefs::kContentSettingsPluginWhitelist, 508 prefs->RegisterDictionaryPref(prefs::kContentSettingsPluginWhitelist,
509 PrefService::SYNCABLE_PREF); 509 PrefService::SYNCABLE_PREF);
510 } 510 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/core_options_handler.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698