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

Side by Side Diff: chrome/test/automation/extension_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
« no previous file with comments | « chrome/test/automation/extension_proxy.h ('k') | chrome/test/automation/tab_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/extension_proxy.h" 5 #include "chrome/test/automation/extension_proxy.h"
6 6
7 #include "base/string_number_conversions.h" 7 #include "base/string_number_conversions.h"
8 #include "chrome/common/automation_messages.h" 8 #include "chrome/test/automation/automation_messages.h"
9 #include "chrome/test/automation/automation_proxy.h" 9 #include "chrome/test/automation/automation_proxy.h"
10 #include "chrome/test/automation/browser_proxy.h" 10 #include "chrome/test/automation/browser_proxy.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 ExtensionProxy::ExtensionProxy(AutomationMessageSender* sender, 13 ExtensionProxy::ExtensionProxy(AutomationMessageSender* sender,
14 AutomationHandleTracker* tracker, 14 AutomationHandleTracker* tracker,
15 int handle) 15 int handle)
16 : AutomationResourceProxy(tracker, sender, handle) { 16 : AutomationResourceProxy(tracker, sender, handle) {
17 } 17 }
18 18
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 DCHECK(value); 133 DCHECK(value);
134 if (!is_valid()) 134 if (!is_valid())
135 return false; 135 return false;
136 136
137 bool success = false; 137 bool success = false;
138 if (!sender_->Send(new AutomationMsg_GetExtensionProperty(0, handle_, type, 138 if (!sender_->Send(new AutomationMsg_GetExtensionProperty(0, handle_, type,
139 &success, value))) 139 &success, value)))
140 return false; 140 return false;
141 return success; 141 return success;
142 } 142 }
OLDNEW
« no previous file with comments | « chrome/test/automation/extension_proxy.h ('k') | chrome/test/automation/tab_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698