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

Side by Side Diff: chrome/test/automation/automation_proxy.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
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/test/automation/automation_proxy.h" 5 #include "chrome/test/automation/automation_proxy.h"
6 6
7 #include <gtest/gtest.h> 7 #include <gtest/gtest.h>
8 8
9 #include <sstream> 9 #include <sstream>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/platform_thread.h" 13 #include "base/platform_thread.h"
14 #include "base/process_util.h" 14 #include "base/process_util.h"
15 #include "base/ref_counted.h" 15 #include "base/ref_counted.h"
16 #include "base/waitable_event.h" 16 #include "base/waitable_event.h"
17 #include "chrome/common/automation_constants.h"
18 #include "chrome/common/automation_messages.h"
19 #include "chrome/common/chrome_version_info.h" 17 #include "chrome/common/chrome_version_info.h"
18 #include "chrome/test/automation/automation_constants.h"
19 #include "chrome/test/automation/automation_messages.h"
20 #include "chrome/test/automation/browser_proxy.h" 20 #include "chrome/test/automation/browser_proxy.h"
21 #include "chrome/test/automation/extension_proxy.h" 21 #include "chrome/test/automation/extension_proxy.h"
22 #include "chrome/test/automation/tab_proxy.h" 22 #include "chrome/test/automation/tab_proxy.h"
23 #include "chrome/test/automation/window_proxy.h" 23 #include "chrome/test/automation/window_proxy.h"
24 #include "ipc/ipc_descriptors.h" 24 #include "ipc/ipc_descriptors.h"
25 #if defined(OS_WIN) 25 #if defined(OS_WIN)
26 // TODO(port): Enable when dialog_delegate is ported. 26 // TODO(port): Enable when dialog_delegate is ported.
27 #include "views/window/dialog_delegate.h" 27 #include "views/window/dialog_delegate.h"
28 #endif 28 #endif
29 29
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 password, 541 password,
542 &success)); 542 &success));
543 // If message sending unsuccessful or test failed, return false. 543 // If message sending unsuccessful or test failed, return false.
544 return sent && success; 544 return sent && success;
545 } 545 }
546 #endif 546 #endif
547 547
548 bool AutomationProxy::ResetToDefaultTheme() { 548 bool AutomationProxy::ResetToDefaultTheme() {
549 return Send(new AutomationMsg_ResetToDefaultTheme(0)); 549 return Send(new AutomationMsg_ResetToDefaultTheme(0));
550 } 550 }
OLDNEW
« no previous file with comments | « chrome/test/automation/automation_proxy.h ('k') | chrome/test/automation/automation_proxy_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698