| 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 #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" |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 } | 107 } |
| 108 static void Log(const param_type& p, std::wstring* l) { | 108 static void Log(const param_type& p, std::wstring* l) { |
| 109 std::wstring control; | 109 std::wstring control; |
| 110 switch (p) { | 110 switch (p) { |
| 111 case AUTOMATION_MSG_EXTENSION_INSTALL_SUCCEEDED: | 111 case AUTOMATION_MSG_EXTENSION_INSTALL_SUCCEEDED: |
| 112 control = L"AUTOMATION_MSG_EXTENSION_INSTALL_SUCCEEDED"; | 112 control = L"AUTOMATION_MSG_EXTENSION_INSTALL_SUCCEEDED"; |
| 113 break; | 113 break; |
| 114 case AUTOMATION_MSG_EXTENSION_INSTALL_FAILED: | 114 case AUTOMATION_MSG_EXTENSION_INSTALL_FAILED: |
| 115 control = L"AUTOMATION_MSG_EXTENSION_INSTALL_FAILED"; | 115 control = L"AUTOMATION_MSG_EXTENSION_INSTALL_FAILED"; |
| 116 break; | 116 break; |
| 117 case AUTOMATION_MSG_EXTENSION_ALREADY_INSTALLED: | |
| 118 control = L"AUTOMATION_MSG_EXTENSION_ALREADY_INSTALLED"; | |
| 119 break; | |
| 120 default: | 117 default: |
| 121 control = L"UNKNOWN"; | 118 control = L"UNKNOWN"; |
| 122 break; | 119 break; |
| 123 } | 120 } |
| 124 | 121 |
| 125 LogParam(control, l); | 122 LogParam(control, l); |
| 126 } | 123 } |
| 127 }; | 124 }; |
| 128 | 125 |
| 129 template <> | 126 template <> |
| (...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 613 } | 610 } |
| 614 }; | 611 }; |
| 615 | 612 |
| 616 } // namespace IPC | 613 } // namespace IPC |
| 617 | 614 |
| 618 #define MESSAGES_INTERNAL_FILE \ | 615 #define MESSAGES_INTERNAL_FILE \ |
| 619 "chrome/test/automation/automation_messages_internal.h" | 616 "chrome/test/automation/automation_messages_internal.h" |
| 620 #include "ipc/ipc_message_macros.h" | 617 #include "ipc/ipc_message_macros.h" |
| 621 | 618 |
| 622 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_MESSAGES_H__ | 619 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_MESSAGES_H__ |
| OLD | NEW |