OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/automation_provider_observers.h" | 5 #include "chrome/browser/automation/automation_provider_observers.h" |
6 | 6 |
7 #include <deque> | 7 #include <deque> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/file_util.h" | 13 #include "base/file_util.h" |
14 #include "base/json/json_writer.h" | 14 #include "base/json/json_writer.h" |
15 #include "base/scoped_ptr.h" | 15 #include "base/scoped_ptr.h" |
16 #include "base/string_util.h" | 16 #include "base/string_util.h" |
17 #include "base/stringprintf.h" | 17 #include "base/stringprintf.h" |
18 #include "base/thread_restrictions.h" | 18 #include "base/threading/thread_restrictions.h" |
19 #include "base/values.h" | 19 #include "base/values.h" |
20 #include "chrome/app/chrome_command_ids.h" | 20 #include "chrome/app/chrome_command_ids.h" |
21 #include "chrome/browser/automation/automation_provider.h" | 21 #include "chrome/browser/automation/automation_provider.h" |
22 #include "chrome/browser/automation/automation_provider_json.h" | 22 #include "chrome/browser/automation/automation_provider_json.h" |
23 #include "chrome/browser/bookmarks/bookmark_model.h" | 23 #include "chrome/browser/bookmarks/bookmark_model.h" |
24 #include "chrome/browser/browser_list.h" | 24 #include "chrome/browser/browser_list.h" |
25 #include "chrome/browser/browser_process.h" | 25 #include "chrome/browser/browser_process.h" |
26 #include "chrome/browser/dom_operation_notification_details.h" | 26 #include "chrome/browser/dom_operation_notification_details.h" |
27 #include "chrome/browser/dom_ui/most_visited_handler.h" | 27 #include "chrome/browser/dom_ui/most_visited_handler.h" |
28 #include "chrome/browser/dom_ui/new_tab_ui.h" | 28 #include "chrome/browser/dom_ui/new_tab_ui.h" |
(...skipping 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1629 NotificationService::AllSources()); | 1629 NotificationService::AllSources()); |
1630 } | 1630 } |
1631 | 1631 |
1632 void RendererProcessClosedObserver::Observe( | 1632 void RendererProcessClosedObserver::Observe( |
1633 NotificationType type, | 1633 NotificationType type, |
1634 const NotificationSource& source, | 1634 const NotificationSource& source, |
1635 const NotificationDetails& details) { | 1635 const NotificationDetails& details) { |
1636 AutomationJSONReply(automation_, reply_message_).SendSuccess(NULL); | 1636 AutomationJSONReply(automation_, reply_message_).SendSuccess(NULL); |
1637 delete this; | 1637 delete this; |
1638 } | 1638 } |
OLD | NEW |