Chromium Code Reviews

Side by Side Diff: chrome/browser/automation/chrome_frame_automation_provider.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.
Jump to:
View unified diff | | 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/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/common/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
12 ChromeFrameAutomationProvider::ChromeFrameAutomationProvider(Profile* profile) 12 ChromeFrameAutomationProvider::ChromeFrameAutomationProvider(Profile* profile)
13 : AutomationProvider(profile) {} 13 : AutomationProvider(profile) {}
14 14
15 void ChromeFrameAutomationProvider::OnMessageReceived( 15 void ChromeFrameAutomationProvider::OnMessageReceived(
16 const IPC::Message& message) { 16 const IPC::Message& message) {
17 if (IsValidMessage(message.type())) { 17 if (IsValidMessage(message.type())) {
18 AutomationProvider::OnMessageReceived(message); 18 AutomationProvider::OnMessageReceived(message);
(...skipping 52 matching lines...)
71 break; 71 break;
72 } 72 }
73 73
74 default: 74 default:
75 break; 75 break;
76 } 76 }
77 77
78 return is_valid_message; 78 return is_valid_message;
79 } 79 }
80 80
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_resource_tracker.cc ('k') | chrome/browser/automation/extension_port_container.cc » ('j') | no next file with comments »

Powered by Google App Engine