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

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

Issue 10917120: Activate the VariationsService for ChromeOS and ensure that it does not ping the server until the E… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: init Created 8 years, 3 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
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 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 // If non-empty, waits for a specific change to screen with this name. 715 // If non-empty, waits for a specific change to screen with this name.
716 std::string screen_to_wait_for() { return screen_to_wait_for_; } 716 std::string screen_to_wait_for() { return screen_to_wait_for_; }
717 void set_screen_to_wait_for(const std::string& screen_name) { 717 void set_screen_to_wait_for(const std::string& screen_name) {
718 screen_to_wait_for_ = screen_name; 718 screen_to_wait_for_ = screen_name;
719 } 719 }
720 720
721 protected: 721 protected:
722 // chromeos::WizardController::Observer overrides: 722 // chromeos::WizardController::Observer overrides:
723 virtual void OnScreenChanged(chromeos::WizardScreen* next_screen) OVERRIDE; 723 virtual void OnScreenChanged(chromeos::WizardScreen* next_screen) OVERRIDE;
724 virtual void OnSessionStart() OVERRIDE; 724 virtual void OnSessionStart() OVERRIDE;
725 virtual void OnEulaAccepted() OVERRIDE;
725 726
726 // content::NotificationObserver overrides: 727 // content::NotificationObserver overrides:
727 void Observe(int type, 728 void Observe(int type,
728 const content::NotificationSource& source, 729 const content::NotificationSource& source,
729 const content::NotificationDetails& details); 730 const content::NotificationDetails& details);
730 731
731 // Sends reply with the given screen name and deletes |this|. 732 // Sends reply with the given screen name and deletes |this|.
732 void SendReply(const std::string& screen_name); 733 void SendReply(const std::string& screen_name);
733 734
734 content::NotificationRegistrar registrar_; 735 content::NotificationRegistrar registrar_;
(...skipping 1091 matching lines...) Expand 10 before | Expand all | Expand 10 after
1826 base::WeakPtr<AutomationProvider> automation_; 1827 base::WeakPtr<AutomationProvider> automation_;
1827 scoped_ptr<IPC::Message> reply_message_; 1828 scoped_ptr<IPC::Message> reply_message_;
1828 int new_window_id_; 1829 int new_window_id_;
1829 int num_loads_; 1830 int num_loads_;
1830 1831
1831 DISALLOW_COPY_AND_ASSIGN( 1832 DISALLOW_COPY_AND_ASSIGN(
1832 BrowserOpenedWithExistingProfileNotificationObserver); 1833 BrowserOpenedWithExistingProfileNotificationObserver);
1833 }; 1834 };
1834 1835
1835 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ 1836 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698