OLD | NEW |
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.h" | 5 #include "chrome/browser/plugins/plugin_prefs.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/message_loop.h" | 12 #include "base/message_loop.h" |
13 #include "base/path_service.h" | 13 #include "base/path_service.h" |
14 #include "base/string_util.h" | 14 #include "base/string_util.h" |
15 #include "base/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
16 #include "base/values.h" | 16 #include "base/values.h" |
17 #include "build/build_config.h" | 17 #include "build/build_config.h" |
18 #include "chrome/browser/browser_process.h" | 18 #include "chrome/browser/browser_process.h" |
19 #include "chrome/browser/plugins/plugin_installer.h" | 19 #include "chrome/browser/plugins/plugin_installer.h" |
20 #include "chrome/browser/plugins/plugin_metadata.h" | 20 #include "chrome/browser/plugins/plugin_metadata.h" |
21 #include "chrome/browser/plugins/plugin_prefs_factory.h" | 21 #include "chrome/browser/plugins/plugin_prefs_factory.h" |
22 #include "chrome/browser/prefs/scoped_user_pref_update.h" | 22 #include "chrome/browser/prefs/scoped_user_pref_update.h" |
23 #include "chrome/browser/profiles/profile.h" | 23 #include "chrome/browser/profiles/profile.h" |
24 #include "chrome/common/chrome_constants.h" | 24 #include "chrome/common/chrome_constants.h" |
25 #include "chrome/common/chrome_content_client.h" | 25 #include "chrome/common/chrome_content_client.h" |
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 } | 665 } |
666 } | 666 } |
667 | 667 |
668 void PluginPrefs::NotifyPluginStatusChanged() { | 668 void PluginPrefs::NotifyPluginStatusChanged() { |
669 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 669 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
670 content::NotificationService::current()->Notify( | 670 content::NotificationService::current()->Notify( |
671 chrome::NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED, | 671 chrome::NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED, |
672 content::Source<Profile>(profile_), | 672 content::Source<Profile>(profile_), |
673 content::NotificationService::NoDetails()); | 673 content::NotificationService::NoDetails()); |
674 } | 674 } |
OLD | NEW |