Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(661)

Side by Side Diff: chrome_frame/cfproxy_support.cc

Issue 4194007: Revert "Refactor automation messages." due to mysterious problems on mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_frame/cfproxy_proxy.cc ('k') | chrome_frame/cfproxy_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome_frame/cfproxy_proxy.cc ('k') | chrome_frame/cfproxy_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698