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_frame/cfproxy_private.h" | 5 #include "chrome_frame/cfproxy_private.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 #include "base/atomic_sequence_num.h" | 8 #include "base/atomic_sequence_num.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/process_util.h" | 10 #include "base/process_util.h" |
11 #include "chrome/common/automation_messages.h" | |
12 #include "chrome/common/chrome_switches.h" | 11 #include "chrome/common/chrome_switches.h" |
| 12 #include "chrome/test/automation/automation_messages.h" |
13 #include "chrome_frame/chrome_launcher_utils.h" | 13 #include "chrome_frame/chrome_launcher_utils.h" |
14 #include "chrome_frame/utils.h" // for IsHeadlessMode(); | 14 #include "chrome_frame/utils.h" // for IsHeadlessMode(); |
15 | 15 |
16 | 16 |
17 namespace { | 17 namespace { |
18 void DispatchReplyFail(uint32 type, | 18 void DispatchReplyFail(uint32 type, |
19 ChromeProxyDelegate* delegate, | 19 ChromeProxyDelegate* delegate, |
20 SyncMessageContext* ctx) { | 20 SyncMessageContext* ctx) { |
21 switch (type) { | 21 switch (type) { |
22 case AutomationMsg_CreateExternalTab::ID: | 22 case AutomationMsg_CreateExternalTab::ID: |
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
526 | 526 |
527 case AutomationMsg_CloseExternalTab__ID: { | 527 case AutomationMsg_CloseExternalTab__ID: { |
528 // Tuple1<int> | 528 // Tuple1<int> |
529 delegate->TabClosed(); | 529 delegate->TabClosed(); |
530 return true; | 530 return true; |
531 } | 531 } |
532 } | 532 } |
533 | 533 |
534 return false; | 534 return false; |
535 } | 535 } |
OLD | NEW |