| 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 "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
| 11 #include "chrome/browser/automation/automation_provider.h" | 11 #include "chrome/browser/automation/automation_provider.h" |
| 12 #include "chrome/browser/browser_list.h" | 12 #include "chrome/browser/browser_list.h" |
| 13 #include "chrome/browser/history/history.h" | 13 #include "chrome/browser/history/history.h" |
| 14 #include "chrome/browser/importer/importer_list.h" | 14 #include "chrome/browser/importer/importer_list.h" |
| 15 #include "chrome/browser/sync/profile_sync_service_harness.h" | 15 #include "chrome/browser/sync/profile_sync_service_harness.h" |
| 16 #include "chrome/common/page_type.h" | |
| 17 #include "content/common/notification_registrar.h" | 16 #include "content/common/notification_registrar.h" |
| 17 #include "content/common/page_type.h" |
| 18 | 18 |
| 19 class DictionaryValue; | 19 class DictionaryValue; |
| 20 class TemplateURLModel; | 20 class TemplateURLModel; |
| 21 | 21 |
| 22 // This is an automation provider containing testing calls. | 22 // This is an automation provider containing testing calls. |
| 23 class TestingAutomationProvider : public AutomationProvider, | 23 class TestingAutomationProvider : public AutomationProvider, |
| 24 public BrowserList::Observer, | 24 public BrowserList::Observer, |
| 25 public ImporterList::Observer, | 25 public ImporterList::Observer, |
| 26 public NotificationObserver { | 26 public NotificationObserver { |
| 27 public: | 27 public: |
| (...skipping 1021 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1049 // Used to enumerate browser profiles. | 1049 // Used to enumerate browser profiles. |
| 1050 scoped_refptr<ImporterList> importer_list_; | 1050 scoped_refptr<ImporterList> importer_list_; |
| 1051 | 1051 |
| 1052 // The stored data for the ImportSettings operation. | 1052 // The stored data for the ImportSettings operation. |
| 1053 ImportSettingsData import_settings_data_; | 1053 ImportSettingsData import_settings_data_; |
| 1054 | 1054 |
| 1055 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1055 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
| 1056 }; | 1056 }; |
| 1057 | 1057 |
| 1058 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1058 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |