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

Side by Side Diff: chrome/browser/automation/automation_provider_observers.h

Issue 8436002: [cros] Remove Views implementation for login/OOBE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ 5 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_
6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ 6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
11 #include <set> 11 #include <set>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
18 #include "base/synchronization/waitable_event.h" 18 #include "base/synchronization/waitable_event.h"
19 #include "base/values.h" 19 #include "base/values.h"
20 #include "chrome/browser/autofill/personal_data_manager.h" 20 #include "chrome/browser/autofill/personal_data_manager.h"
21 #include "chrome/browser/autofill/personal_data_manager_observer.h" 21 #include "chrome/browser/autofill/personal_data_manager_observer.h"
22 #include "chrome/browser/automation/automation_provider_json.h" 22 #include "chrome/browser/automation/automation_provider_json.h"
23 #include "chrome/browser/automation/automation_tab_helper.h" 23 #include "chrome/browser/automation/automation_tab_helper.h"
24 #include "chrome/browser/bookmarks/bookmark_model_observer.h" 24 #include "chrome/browser/bookmarks/bookmark_model_observer.h"
25 #include "chrome/browser/browsing_data_remover.h" 25 #include "chrome/browser/browsing_data_remover.h"
26 #if defined(OS_CHROMEOS) 26 #if defined(OS_CHROMEOS)
27 #include "chrome/browser/chromeos/cros/network_library.h" 27 #include "chrome/browser/chromeos/cros/network_library.h"
28 #include "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen. h" 28 #include "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen. h"
29 #include "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen_ actor.h" 29 #include "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen_ actor.h"
30 #include "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_view.h"
31 #include "chrome/browser/chromeos/login/login_status_consumer.h" 30 #include "chrome/browser/chromeos/login/login_status_consumer.h"
32 #include "chrome/browser/chromeos/login/user_manager.h" 31 #include "chrome/browser/chromeos/login/user_manager.h"
33 #include "chrome/browser/chromeos/login/wizard_controller.h" 32 #include "chrome/browser/chromeos/login/wizard_controller.h"
34 #include "chrome/browser/chromeos/options/take_photo_dialog.h" 33 #include "chrome/browser/chromeos/options/take_photo_dialog.h"
35 #endif // defined(OS_CHROMEOS) 34 #endif // defined(OS_CHROMEOS)
36 #include "chrome/browser/history/history.h" 35 #include "chrome/browser/history/history.h"
37 #include "chrome/browser/history/history_types.h" 36 #include "chrome/browser/history/history_types.h"
38 #include "chrome/browser/importer/importer_data_types.h" 37 #include "chrome/browser/importer/importer_data_types.h"
39 #include "chrome/browser/importer/importer_progress_observer.h" 38 #include "chrome/browser/importer/importer_progress_observer.h"
40 #include "chrome/browser/memory_details.h" 39 #include "chrome/browser/memory_details.h"
(...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 class EnrollmentObserver 991 class EnrollmentObserver
993 : public chromeos::EnterpriseEnrollmentScreenActor::Observer { 992 : public chromeos::EnterpriseEnrollmentScreenActor::Observer {
994 public: 993 public:
995 EnrollmentObserver(AutomationProvider* automation, 994 EnrollmentObserver(AutomationProvider* automation,
996 IPC::Message* reply_message, 995 IPC::Message* reply_message,
997 chromeos::EnterpriseEnrollmentScreenActor* enrollment_screen_actor, 996 chromeos::EnterpriseEnrollmentScreenActor* enrollment_screen_actor,
998 chromeos::EnterpriseEnrollmentScreen* enrollment_screen); 997 chromeos::EnterpriseEnrollmentScreen* enrollment_screen);
999 998
1000 virtual ~EnrollmentObserver(); 999 virtual ~EnrollmentObserver();
1001 1000
1002 // chromeos::EnterpriseEnrollmentView::Observer implementation. 1001 // chromeos::EnterpriseEnrollmentScreenActor::Observer implementation.
1003 virtual void OnEnrollmentComplete( 1002 virtual void OnEnrollmentComplete(
1004 chromeos::EnterpriseEnrollmentScreenActor* enrollment_screen_actor, 1003 chromeos::EnterpriseEnrollmentScreenActor* enrollment_screen_actor,
1005 bool succeeded); 1004 bool succeeded);
1006 1005
1007 private: 1006 private:
1008 base::WeakPtr<AutomationProvider> automation_; 1007 base::WeakPtr<AutomationProvider> automation_;
1009 scoped_ptr<IPC::Message> reply_message_; 1008 scoped_ptr<IPC::Message> reply_message_;
1010 chromeos::EnterpriseEnrollmentScreen* enrollment_screen_; 1009 chromeos::EnterpriseEnrollmentScreen* enrollment_screen_;
1011 1010
1012 DISALLOW_COPY_AND_ASSIGN(EnrollmentObserver); 1011 DISALLOW_COPY_AND_ASSIGN(EnrollmentObserver);
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
1802 private: 1801 private:
1803 content::NotificationRegistrar registrar_; 1802 content::NotificationRegistrar registrar_;
1804 base::WeakPtr<AutomationProvider> automation_; 1803 base::WeakPtr<AutomationProvider> automation_;
1805 scoped_ptr<IPC::Message> reply_message_; 1804 scoped_ptr<IPC::Message> reply_message_;
1806 int new_window_id_; 1805 int new_window_id_;
1807 1806
1808 DISALLOW_COPY_AND_ASSIGN(BrowserOpenedWithNewProfileNotificationObserver); 1807 DISALLOW_COPY_AND_ASSIGN(BrowserOpenedWithNewProfileNotificationObserver);
1809 }; 1808 };
1810 1809
1811 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ 1810 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698