| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/browser/automation/chrome_frame_automation_provider.h" | 5 #include "chrome/browser/automation/chrome_frame_automation_provider.h" |
| 6 #include "chrome/browser/profile.h" | 6 #include "chrome/browser/profile.h" |
| 7 #include "chrome/browser/profile_manager.h" | 7 #include "chrome/browser/profile_manager.h" |
| 8 #include "chrome/test/automation/automation_messages.h" | 8 #include "chrome/test/automation/automation_messages.h" |
| 9 #include "ipc/ipc_message.h" | 9 #include "ipc/ipc_message.h" |
| 10 #include "ipc/ipc_channel.h" | 10 #include "ipc/ipc_channel.h" |
| 11 | 11 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 case AutomationMsg_Paste::ID: | 55 case AutomationMsg_Paste::ID: |
| 56 case AutomationMsg_SelectAll::ID: | 56 case AutomationMsg_SelectAll::ID: |
| 57 case AutomationMsg_ReloadAsync::ID: | 57 case AutomationMsg_ReloadAsync::ID: |
| 58 case AutomationMsg_StopAsync::ID: | 58 case AutomationMsg_StopAsync::ID: |
| 59 case AutomationMsg_PrintAsync::ID: | 59 case AutomationMsg_PrintAsync::ID: |
| 60 case AutomationMsg_HandleUnused::ID: | 60 case AutomationMsg_HandleUnused::ID: |
| 61 case AutomationMsg_HandleMessageFromExternalHost::ID: | 61 case AutomationMsg_HandleMessageFromExternalHost::ID: |
| 62 case AutomationMsg_RequestStarted::ID: | 62 case AutomationMsg_RequestStarted::ID: |
| 63 case AutomationMsg_RequestData::ID: | 63 case AutomationMsg_RequestData::ID: |
| 64 case AutomationMsg_RequestEnd::ID: | 64 case AutomationMsg_RequestEnd::ID: |
| 65 case AutomationMsg_SaveAsAsync::ID: | 65 case AutomationMsg_SaveAsAsync::ID: { |
| 66 case AutomationMsg_RemoveBrowsingData::ID: { | |
| 67 is_valid_message = true; | 66 is_valid_message = true; |
| 68 break; | 67 break; |
| 69 } | 68 } |
| 70 | 69 |
| 71 default: | 70 default: |
| 72 break; | 71 break; |
| 73 } | 72 } |
| 74 | 73 |
| 75 return is_valid_message; | 74 return is_valid_message; |
| 76 } | 75 } |
| 77 | 76 |
| OLD | NEW |