| 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 #include "chrome/browser/automation/testing_automation_provider.h" | 5 #include "chrome/browser/automation/testing_automation_provider.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 #include "chrome/browser/download/download_shelf.h" | 44 #include "chrome/browser/download/download_shelf.h" |
| 45 #include "chrome/browser/extensions/extension_host.h" | 45 #include "chrome/browser/extensions/extension_host.h" |
| 46 #include "chrome/browser/extensions/extension_service.h" | 46 #include "chrome/browser/extensions/extension_service.h" |
| 47 #include "chrome/browser/history/top_sites.h" | 47 #include "chrome/browser/history/top_sites.h" |
| 48 #include "chrome/browser/importer/importer_host.h" | 48 #include "chrome/browser/importer/importer_host.h" |
| 49 #include "chrome/browser/instant/instant_controller.h" | 49 #include "chrome/browser/instant/instant_controller.h" |
| 50 #include "chrome/browser/notifications/balloon.h" | 50 #include "chrome/browser/notifications/balloon.h" |
| 51 #include "chrome/browser/notifications/balloon_collection.h" | 51 #include "chrome/browser/notifications/balloon_collection.h" |
| 52 #include "chrome/browser/notifications/notification.h" | 52 #include "chrome/browser/notifications/notification.h" |
| 53 #include "chrome/browser/notifications/notification_ui_manager.h" | 53 #include "chrome/browser/notifications/notification_ui_manager.h" |
| 54 #include "chrome/browser/password_manager/password_store.h" |
| 54 #include "chrome/browser/platform_util.h" | 55 #include "chrome/browser/platform_util.h" |
| 55 #include "chrome/browser/prefs/pref_service.h" | 56 #include "chrome/browser/prefs/pref_service.h" |
| 56 #include "chrome/browser/profiles/profile.h" | 57 #include "chrome/browser/profiles/profile.h" |
| 57 #include "chrome/browser/profiles/profile_manager.h" | 58 #include "chrome/browser/profiles/profile_manager.h" |
| 58 #include "chrome/browser/search_engines/template_url.h" | 59 #include "chrome/browser/search_engines/template_url.h" |
| 59 #include "chrome/browser/search_engines/template_url_model.h" | 60 #include "chrome/browser/search_engines/template_url_model.h" |
| 60 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" | 61 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" |
| 61 #include "chrome/browser/tab_contents/link_infobar_delegate.h" | 62 #include "chrome/browser/tab_contents/link_infobar_delegate.h" |
| 62 #include "chrome/browser/themes/theme_service.h" | 63 #include "chrome/browser/themes/theme_service.h" |
| 63 #include "chrome/browser/themes/theme_service_factory.h" | 64 #include "chrome/browser/themes/theme_service_factory.h" |
| (...skipping 5140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5204 // If you change this, update Observer for NotificationType::SESSION_END | 5205 // If you change this, update Observer for NotificationType::SESSION_END |
| 5205 // below. | 5206 // below. |
| 5206 MessageLoop::current()->PostTask(FROM_HERE, | 5207 MessageLoop::current()->PostTask(FROM_HERE, |
| 5207 NewRunnableMethod(this, &TestingAutomationProvider::OnRemoveProvider)); | 5208 NewRunnableMethod(this, &TestingAutomationProvider::OnRemoveProvider)); |
| 5208 } | 5209 } |
| 5209 } | 5210 } |
| 5210 | 5211 |
| 5211 void TestingAutomationProvider::OnRemoveProvider() { | 5212 void TestingAutomationProvider::OnRemoveProvider() { |
| 5212 AutomationProviderList::GetInstance()->RemoveProvider(this); | 5213 AutomationProviderList::GetInstance()->RemoveProvider(this); |
| 5213 } | 5214 } |
| OLD | NEW |