summaryrefslogtreecommitdiffstats
path: root/chrome/browser/pepper_flash_settings_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/pepper_flash_settings_manager.h')
-rw-r--r--chrome/browser/pepper_flash_settings_manager.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/pepper_flash_settings_manager.h b/chrome/browser/pepper_flash_settings_manager.h
index 65bb055..3fd242b 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_;