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

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 953 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 class EnrollmentObserver 993 class EnrollmentObserver
995 : public chromeos::EnterpriseEnrollmentScreenActor::Observer { 994 : public chromeos::EnterpriseEnrollmentScreenActor::Observer {
996 public: 995 public:
997 EnrollmentObserver(AutomationProvider* automation, 996 EnrollmentObserver(AutomationProvider* automation,
998 IPC::Message* reply_message, 997 IPC::Message* reply_message,
999 chromeos::EnterpriseEnrollmentScreenActor* enrollment_screen_actor, 998 chromeos::EnterpriseEnrollmentScreenActor* enrollment_screen_actor,
1000 chromeos::EnterpriseEnrollmentScreen* enrollment_screen); 999 chromeos::EnterpriseEnrollmentScreen* enrollment_screen);
1001 1000
1002 virtual ~EnrollmentObserver(); 1001 virtual ~EnrollmentObserver();
1003 1002
1004 // chromeos::EnterpriseEnrollmentView::Observer implementation. 1003 // chromeos::EnterpriseEnrollmentScreenActor::Observer implementation.
1005 virtual void OnEnrollmentComplete( 1004 virtual void OnEnrollmentComplete(
1006 chromeos::EnterpriseEnrollmentScreenActor* enrollment_screen_actor, 1005 chromeos::EnterpriseEnrollmentScreenActor* enrollment_screen_actor,
1007 bool succeeded); 1006 bool succeeded);
1008 1007
1009 private: 1008 private:
1010 base::WeakPtr<AutomationProvider> automation_; 1009 base::WeakPtr<AutomationProvider> automation_;
1011 scoped_ptr<IPC::Message> reply_message_; 1010 scoped_ptr<IPC::Message> reply_message_;
1012 chromeos::EnterpriseEnrollmentScreen* enrollment_screen_; 1011 chromeos::EnterpriseEnrollmentScreen* enrollment_screen_;
1013 1012
1014 DISALLOW_COPY_AND_ASSIGN(EnrollmentObserver); 1013 DISALLOW_COPY_AND_ASSIGN(EnrollmentObserver);
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after
1807 private: 1806 private:
1808 content::NotificationRegistrar registrar_; 1807 content::NotificationRegistrar registrar_;
1809 base::WeakPtr<AutomationProvider> automation_; 1808 base::WeakPtr<AutomationProvider> automation_;
1810 scoped_ptr<IPC::Message> reply_message_; 1809 scoped_ptr<IPC::Message> reply_message_;
1811 int new_window_id_; 1810 int new_window_id_;
1812 1811
1813 DISALLOW_COPY_AND_ASSIGN(BrowserOpenedWithNewProfileNotificationObserver); 1812 DISALLOW_COPY_AND_ASSIGN(BrowserOpenedWithNewProfileNotificationObserver);
1814 }; 1813 };
1815 1814
1816 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ 1815 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider.cc ('k') | chrome/browser/automation/testing_automation_provider_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698