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

Side by Side Diff: chrome/test/automation/automation_messages.h

Issue 21039: Revert my change to get the tree green. Not sure why the tests became flaky.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 months 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_MESSAGES_H__ 5 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_MESSAGES_H__
6 #define CHROME_TEST_AUTOMATION_AUTOMATION_MESSAGES_H__ 6 #define CHROME_TEST_AUTOMATION_AUTOMATION_MESSAGES_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "chrome/common/ipc_message.h"
11 #include "chrome/common/ipc_message_utils.h" 12 #include "chrome/common/ipc_message_utils.h"
12 13
13 enum AutomationMsg_NavigationResponseValues { 14 enum AutomationMsg_NavigationResponseValues {
14 AUTOMATION_MSG_NAVIGATION_ERROR = 0, 15 AUTOMATION_MSG_NAVIGATION_ERROR = 0,
15 AUTOMATION_MSG_NAVIGATION_SUCCESS, 16 AUTOMATION_MSG_NAVIGATION_SUCCESS,
16 AUTOMATION_MSG_NAVIGATION_AUTH_NEEDED, 17 AUTOMATION_MSG_NAVIGATION_AUTH_NEEDED,
17 }; 18 };
18 19
19 #define MESSAGES_INTERNAL_FILE \ 20 // Two-pass include of render_messages_internal. Preprocessor magic allows
20 "chrome/test/automation/automation_messages_internal.h" 21 // us to use 1 header to define the enums and classes for our render messages.
21 #include "chrome/common/ipc_message_macros.h" 22 #define IPC_MESSAGE_MACROS_ENUMS
23 #include "chrome/test/automation/automation_messages_internal.h"
24
25 #ifdef IPC_MESSAGE_MACROS_LOG_ENABLED
26 # undef IPC_MESSAGE_MACROS_LOG
27 # define IPC_MESSAGE_MACROS_CLASSES
28 #include "chrome/test/automation/automation_messages_internal.h"
29
30 # undef IPC_MESSAGE_MACROS_CLASSES
31 # define IPC_MESSAGE_MACROS_LOG
32 #include "chrome/test/automation/automation_messages_internal.h"
33 #else
34 // No debug strings requested, just define the classes
35 # define IPC_MESSAGE_MACROS_CLASSES
36 #include "chrome/test/automation/automation_messages_internal.h"
37 #endif
38
22 39
23 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_MESSAGES_H__ 40 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_MESSAGES_H__
24 41
OLDNEW
« no previous file with comments | « chrome/test/automation/autocomplete_edit_proxy.h ('k') | chrome/test/automation/automation_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698