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

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

Issue 12704002: Support for auth code based authentication flow for both app and web UI driven flow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 class ScreenUnlockObserver : public ScreenLockUnlockObserver, 776 class ScreenUnlockObserver : public ScreenLockUnlockObserver,
777 public chromeos::LoginStatusConsumer { 777 public chromeos::LoginStatusConsumer {
778 public: 778 public:
779 ScreenUnlockObserver(AutomationProvider* automation, 779 ScreenUnlockObserver(AutomationProvider* automation,
780 IPC::Message* reply_message); 780 IPC::Message* reply_message);
781 virtual ~ScreenUnlockObserver(); 781 virtual ~ScreenUnlockObserver();
782 782
783 virtual void OnLoginFailure(const chromeos::LoginFailure& error); 783 virtual void OnLoginFailure(const chromeos::LoginFailure& error);
784 784
785 virtual void OnLoginSuccess( 785 virtual void OnLoginSuccess(
786 const std::string& username, 786 const chromeos::UserCredentials& credentials,
787 const std::string& password,
788 bool pending_requests, 787 bool pending_requests,
789 bool using_oauth) {} 788 bool using_oauth) {}
790 789
791 private: 790 private:
792 DISALLOW_COPY_AND_ASSIGN(ScreenUnlockObserver); 791 DISALLOW_COPY_AND_ASSIGN(ScreenUnlockObserver);
793 }; 792 };
794 793
795 class NetworkScanObserver 794 class NetworkScanObserver
796 : public chromeos::NetworkLibrary::NetworkManagerObserver { 795 : public chromeos::NetworkLibrary::NetworkManagerObserver {
797 public: 796 public:
(...skipping 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after
1802 base::WeakPtr<AutomationProvider> automation_; 1801 base::WeakPtr<AutomationProvider> automation_;
1803 scoped_ptr<IPC::Message> reply_message_; 1802 scoped_ptr<IPC::Message> reply_message_;
1804 int new_window_id_; 1803 int new_window_id_;
1805 int num_loads_; 1804 int num_loads_;
1806 1805
1807 DISALLOW_COPY_AND_ASSIGN( 1806 DISALLOW_COPY_AND_ASSIGN(
1808 BrowserOpenedWithExistingProfileNotificationObserver); 1807 BrowserOpenedWithExistingProfileNotificationObserver);
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