Index: chrome/browser/pepper_flash_settings_manager.h |
diff --git a/chrome/browser/pepper_flash_settings_manager.h b/chrome/browser/pepper_flash_settings_manager.h |
index 65bb055d3623381ff987ba91001593307019989a..3fd242ba611f370621fb0a49341bac46d488b592 100644 |
--- a/chrome/browser/pepper_flash_settings_manager.h |
+++ b/chrome/browser/pepper_flash_settings_manager.h |
@@ -7,6 +7,7 @@ |
#include "base/basictypes.h" |
#include "base/memory/ref_counted.h" |
+#include "base/memory/weak_ptr.h" |
#include "ppapi/c/private/ppp_flash_browser_operations.h" |
#include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h" |
@@ -113,8 +114,10 @@ class PepperFlashSettingsManager { |
void EnsureCoreExists(); |
- // Notified by |core_| when an error occurs. |
- void OnError(); |
+ // Notifies us that an error occurred in |core|. |
+ void OnError(Core* core); |
+ |
+ base::WeakPtrFactory<PepperFlashSettingsManager> weak_ptr_factory_; |
// |client_| is not owned by this object and must outlive it. |
Client* client_; |