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

Unified Diff: chrome/browser/automation/automation_event_observers.h

Issue 11088032: [chromeos] Fix a use-after-free problem with LoginEventObserver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing heap-use-after-free problem. Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/automation/automation_event_observers_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/automation_event_observers.h
diff --git a/chrome/browser/automation/automation_event_observers.h b/chrome/browser/automation/automation_event_observers.h
index 1587f69336610516346e18b6ea896ec17efb3fa3..972be850810689c22674fb50c9b4688033c03ad7 100644
--- a/chrome/browser/automation/automation_event_observers.h
+++ b/chrome/browser/automation/automation_event_observers.h
@@ -16,12 +16,6 @@
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
-#if defined(OS_CHROMEOS)
-namespace chromeos {
-class ExistingUserController;
-}
-#endif // defined(OS_CHROMEOS)
-
// AutomationEventObserver watches for a specific event, and pushes an
// AutomationEvent into the AutomationEventQueue for each occurance.
class AutomationEventObserver {
@@ -87,7 +81,6 @@ class LoginEventObserver
public content::NotificationObserver {
public:
LoginEventObserver(AutomationEventQueue* event_queue,
- chromeos::ExistingUserController* controller,
AutomationProvider* automation);
virtual ~LoginEventObserver();
@@ -102,7 +95,6 @@ class LoginEventObserver
const content::NotificationDetails& details) OVERRIDE;
private:
- chromeos::ExistingUserController* controller_;
base::WeakPtr<AutomationProvider> automation_;
content::NotificationRegistrar registrar_;
« no previous file with comments | « no previous file | chrome/browser/automation/automation_event_observers_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698