| 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_TESTING_AUTOMATION_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 
| 6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 
| 7 #pragma once | 7 #pragma once | 
| 8 | 8 | 
| 9 #include <string> | 9 #include <string> | 
| 10 | 10 | 
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 53   virtual ~TestingAutomationProvider(); | 53   virtual ~TestingAutomationProvider(); | 
| 54 | 54 | 
| 55   // BrowserList::Observer: | 55   // BrowserList::Observer: | 
| 56   virtual void OnBrowserAdded(const Browser* browser) OVERRIDE; | 56   virtual void OnBrowserAdded(const Browser* browser) OVERRIDE; | 
| 57   virtual void OnBrowserRemoved(const Browser* browser) OVERRIDE; | 57   virtual void OnBrowserRemoved(const Browser* browser) OVERRIDE; | 
| 58 | 58 | 
| 59   // ImporterList::Observer: | 59   // ImporterList::Observer: | 
| 60   virtual void OnSourceProfilesLoaded() OVERRIDE; | 60   virtual void OnSourceProfilesLoaded() OVERRIDE; | 
| 61 | 61 | 
| 62   // NotificationObserver: | 62   // NotificationObserver: | 
| 63   virtual void Observe(NotificationType type, | 63   virtual void Observe(int type, | 
| 64                        const NotificationSource& source, | 64                        const NotificationSource& source, | 
| 65                        const NotificationDetails& details) OVERRIDE; | 65                        const NotificationDetails& details) OVERRIDE; | 
| 66 | 66 | 
| 67   // IPC Message callbacks. | 67   // IPC Message callbacks. | 
| 68   void CloseBrowser(int handle, IPC::Message* reply_message); | 68   void CloseBrowser(int handle, IPC::Message* reply_message); | 
| 69   void CloseBrowserAsync(int browser_handle); | 69   void CloseBrowserAsync(int browser_handle); | 
| 70   void ActivateTab(int handle, int at_index, int* status); | 70   void ActivateTab(int handle, int at_index, int* status); | 
| 71   void AppendTab(int handle, const GURL& url, IPC::Message* reply_message); | 71   void AppendTab(int handle, const GURL& url, IPC::Message* reply_message); | 
| 72   void GetActiveTabIndex(int handle, int* active_tab_index); | 72   void GetActiveTabIndex(int handle, int* active_tab_index); | 
| 73   void CloseTab(int tab_handle, bool wait_until_closed, | 73   void CloseTab(int tab_handle, bool wait_until_closed, | 
| (...skipping 1192 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1266   // Used to enumerate browser profiles. | 1266   // Used to enumerate browser profiles. | 
| 1267   scoped_refptr<ImporterList> importer_list_; | 1267   scoped_refptr<ImporterList> importer_list_; | 
| 1268 | 1268 | 
| 1269   // The stored data for the ImportSettings operation. | 1269   // The stored data for the ImportSettings operation. | 
| 1270   ImportSettingsData import_settings_data_; | 1270   ImportSettingsData import_settings_data_; | 
| 1271 | 1271 | 
| 1272   DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1272   DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 
| 1273 }; | 1273 }; | 
| 1274 | 1274 | 
| 1275 #endif  // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1275 #endif  // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 
| OLD | NEW | 
|---|