OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // This implements a browser-side endpoint for UI automation activity. | 5 // This implements a browser-side endpoint for UI automation activity. |
6 // The client-side endpoint is implemented by AutomationProxy. | 6 // The client-side endpoint is implemented by AutomationProxy. |
7 // The entire lifetime of this object should be contained within that of | 7 // The entire lifetime of this object should be contained within that of |
8 // the BrowserProcess, and in particular the NotificationService that's | 8 // the BrowserProcess, and in particular the NotificationService that's |
9 // hung off of it. | 9 // hung off of it. |
10 | 10 |
11 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 11 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
12 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 12 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
13 #pragma once | 13 #pragma once |
14 | 14 |
15 #include <list> | 15 #include <list> |
16 #include <map> | 16 #include <map> |
17 #include <string> | 17 #include <string> |
18 #include <vector> | 18 #include <vector> |
19 | 19 |
20 #include "base/basictypes.h" | 20 #include "base/basictypes.h" |
21 #include "base/compiler_specific.h" | 21 #include "base/compiler_specific.h" |
22 #include "base/memory/scoped_ptr.h" | 22 #include "base/memory/scoped_ptr.h" |
23 #include "base/memory/weak_ptr.h" | 23 #include "base/memory/weak_ptr.h" |
24 #include "base/message_loop_helpers.h" | |
25 #include "base/observer_list.h" | 24 #include "base/observer_list.h" |
| 25 #include "base/sequenced_task_runner_helpers.h" |
26 #include "base/string16.h" | 26 #include "base/string16.h" |
27 #include "chrome/browser/autofill/field_types.h" | 27 #include "chrome/browser/autofill/field_types.h" |
28 #include "chrome/browser/cancelable_request.h" | 28 #include "chrome/browser/cancelable_request.h" |
29 #include "chrome/common/automation_constants.h" | 29 #include "chrome/common/automation_constants.h" |
30 #include "chrome/common/content_settings.h" | 30 #include "chrome/common/content_settings.h" |
31 #include "content/public/browser/browser_thread.h" | 31 #include "content/public/browser/browser_thread.h" |
32 #include "content/public/browser/notification_observer.h" | 32 #include "content/public/browser/notification_observer.h" |
33 #include "content/public/browser/trace_subscriber.h" | 33 #include "content/public/browser/trace_subscriber.h" |
34 #include "ipc/ipc_channel.h" | 34 #include "ipc/ipc_channel.h" |
35 #include "ipc/ipc_listener.h" | 35 #include "ipc/ipc_listener.h" |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 std::string channel_id_; | 367 std::string channel_id_; |
368 | 368 |
369 // Trace data that has been collected but not flushed to the automation | 369 // Trace data that has been collected but not flushed to the automation |
370 // client. | 370 // client. |
371 TracingData tracing_data_; | 371 TracingData tracing_data_; |
372 | 372 |
373 DISALLOW_COPY_AND_ASSIGN(AutomationProvider); | 373 DISALLOW_COPY_AND_ASSIGN(AutomationProvider); |
374 }; | 374 }; |
375 | 375 |
376 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 376 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
OLD | NEW |