| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_LIST_H__ | 4 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_LIST_H__ |
| 5 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_LIST_H__ | 5 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_LIST_H__ |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 | 9 |
| 10 class AutomationProvider; | 10 class AutomationProvider; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 } | 30 } |
| 31 | 31 |
| 32 size_t size() { | 32 size_t size() { |
| 33 return automation_providers_.size(); | 33 return automation_providers_.size(); |
| 34 } | 34 } |
| 35 | 35 |
| 36 static AutomationProviderList* GetInstance(); | 36 static AutomationProviderList* GetInstance(); |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 AutomationProviderList(); | 39 AutomationProviderList(); |
| 40 void OnLastProviderRemoved(); |
| 40 list_type automation_providers_; | 41 list_type automation_providers_; |
| 41 static AutomationProviderList* instance_; | 42 static AutomationProviderList* instance_; |
| 42 | 43 |
| 43 DISALLOW_EVIL_CONSTRUCTORS(AutomationProviderList); | 44 DISALLOW_EVIL_CONSTRUCTORS(AutomationProviderList); |
| 44 }; | 45 }; |
| 45 | 46 |
| 46 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_LIST_H__ | 47 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_LIST_H__ |
| OLD | NEW |