| OLD | NEW |
| 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> |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 private: | 102 private: |
| 103 class TabTime; | 103 class TabTime; |
| 104 typedef std::map<uintptr_t, TabTime> TabTimeMap; | 104 typedef std::map<uintptr_t, TabTime> TabTimeMap; |
| 105 typedef std::set<uintptr_t> TabSet; | 105 typedef std::set<uintptr_t> TabSet; |
| 106 | 106 |
| 107 void ConditionMet(); | 107 void ConditionMet(); |
| 108 | 108 |
| 109 NotificationRegistrar registrar_; | 109 NotificationRegistrar registrar_; |
| 110 | 110 |
| 111 base::WeakPtr<AutomationProvider> automation_; | 111 base::WeakPtr<AutomationProvider> automation_; |
| 112 size_t crashed_tab_count_; |
| 112 size_t outstanding_tab_count_; | 113 size_t outstanding_tab_count_; |
| 113 base::TimeTicks init_time_; | 114 base::TimeTicks init_time_; |
| 114 TabTimeMap loading_tabs_; | 115 TabTimeMap loading_tabs_; |
| 115 TabSet finished_tabs_; | 116 TabSet finished_tabs_; |
| 116 | 117 |
| 117 DISALLOW_COPY_AND_ASSIGN(InitialLoadObserver); | 118 DISALLOW_COPY_AND_ASSIGN(InitialLoadObserver); |
| 118 }; | 119 }; |
| 119 | 120 |
| 120 #if defined(OS_CHROMEOS) | 121 #if defined(OS_CHROMEOS) |
| 121 // Watches for NetworkManager events. Because NetworkLibrary loads | 122 // Watches for NetworkManager events. Because NetworkLibrary loads |
| (...skipping 1578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1700 | 1701 |
| 1701 private: | 1702 private: |
| 1702 NotificationRegistrar registrar_; | 1703 NotificationRegistrar registrar_; |
| 1703 base::WeakPtr<AutomationProvider> automation_; | 1704 base::WeakPtr<AutomationProvider> automation_; |
| 1704 scoped_ptr<IPC::Message> reply_message_; | 1705 scoped_ptr<IPC::Message> reply_message_; |
| 1705 | 1706 |
| 1706 DISALLOW_COPY_AND_ASSIGN(DragTargetDropAckNotificationObserver); | 1707 DISALLOW_COPY_AND_ASSIGN(DragTargetDropAckNotificationObserver); |
| 1707 }; | 1708 }; |
| 1708 | 1709 |
| 1709 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ | 1710 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ |
| OLD | NEW |