| 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 <stddef.h> |
| 8 |
| 7 #include <string> | 9 #include <string> |
| 8 | 10 |
| 9 #include "base/bind.h" | 11 #include "base/bind.h" |
| 10 #include "base/command_line.h" | 12 #include "base/command_line.h" |
| 11 #include "base/location.h" | 13 #include "base/location.h" |
| 12 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/path_service.h" | 15 #include "base/path_service.h" |
| 14 #include "base/prefs/scoped_user_pref_update.h" | 16 #include "base/prefs/scoped_user_pref_update.h" |
| 15 #include "base/single_thread_task_runner.h" | 17 #include "base/single_thread_task_runner.h" |
| 16 #include "base/strings/pattern.h" | 18 #include "base/strings/pattern.h" |
| (...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 566 } | 568 } |
| 567 } | 569 } |
| 568 | 570 |
| 569 void PluginPrefs::NotifyPluginStatusChanged() { | 571 void PluginPrefs::NotifyPluginStatusChanged() { |
| 570 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 572 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| 571 content::NotificationService::current()->Notify( | 573 content::NotificationService::current()->Notify( |
| 572 chrome::NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED, | 574 chrome::NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED, |
| 573 content::Source<Profile>(profile_), | 575 content::Source<Profile>(profile_), |
| 574 content::NotificationService::NoDetails()); | 576 content::NotificationService::NoDetails()); |
| 575 } | 577 } |
| OLD | NEW |