summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/automation_provider_observers.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/automation/automation_provider_observers.h')
-rw-r--r--chrome/browser/automation/automation_provider_observers.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/chrome/browser/automation/automation_provider_observers.h b/chrome/browser/automation/automation_provider_observers.h
index 64c09a0..142fdbb 100644
--- a/chrome/browser/automation/automation_provider_observers.h
+++ b/chrome/browser/automation/automation_provider_observers.h
@@ -29,7 +29,6 @@
#include "chrome/browser/chromeos/login/login_status_consumer.h"
#include "chrome/browser/chromeos/login/user_manager.h"
#include "chrome/browser/chromeos/login/wizard_controller.h"
-#include "chrome/browser/chromeos/options/take_photo_dialog.h"
#endif // defined(OS_CHROMEOS)
#include "chrome/browser/common/cancelable_request.h"
#include "chrome/browser/download/all_download_item_notifier.h"
@@ -964,37 +963,6 @@ class EnrollmentObserver
DISALLOW_COPY_AND_ASSIGN(EnrollmentObserver);
};
-// Waits for profile photo to be captured by the camera,
-// saved to file, and the path set in local state preferences
-class PhotoCaptureObserver : public chromeos::TakePhotoDialog::Observer,
- public chromeos::UserManager::Observer {
- public:
- PhotoCaptureObserver(AutomationProvider* automation,
- IPC::Message* reply_message);
- virtual ~PhotoCaptureObserver();
-
- // TakePhotoDialog::Observer overrides
- virtual void OnCaptureSuccess(
- chromeos::TakePhotoDialog* dialog,
- chromeos::TakePhotoView* take_photo_view) OVERRIDE;
- virtual void OnCaptureFailure(
- chromeos::TakePhotoDialog* dialog,
- chromeos::TakePhotoView* take_photo_view) OVERRIDE;
- virtual void OnCapturingStopped(
- chromeos::TakePhotoDialog* dialog,
- chromeos::TakePhotoView* take_photo_view) OVERRIDE;
-
- // UserManager::Observer overrides
- virtual void LocalStateChanged(
- chromeos::UserManager* user_manager) OVERRIDE;
-
- private:
- base::WeakPtr<AutomationProvider> automation_;
- scoped_ptr<IPC::Message> reply_message_;
-
- DISALLOW_COPY_AND_ASSIGN(PhotoCaptureObserver);
-};
-
#endif // defined(OS_CHROMEOS)
// Waits for the bookmark model to load.