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

Side by Side Diff: chrome_frame/test/automation_client_mock.h

Issue 16391006: Use a direct include of strings headers in chrome_frame/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
« no previous file with comments | « chrome_frame/simple_resource_loader.cc ('k') | chrome_frame/test/chrome_frame_test_utils.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_FRAME_TEST_AUTOMATION_CLIENT_MOCK_H_ 5 #ifndef CHROME_FRAME_TEST_AUTOMATION_CLIENT_MOCK_H_
6 #define CHROME_FRAME_TEST_AUTOMATION_CLIENT_MOCK_H_ 6 #define CHROME_FRAME_TEST_AUTOMATION_CLIENT_MOCK_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 #include <string> 9 #include <string>
10 10
11 #include "base/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "chrome_frame/chrome_frame_automation.h" 12 #include "chrome_frame/chrome_frame_automation.h"
13 #include "chrome_frame/test/chrome_frame_test_utils.h" 13 #include "chrome_frame/test/chrome_frame_test_utils.h"
14 #include "chrome_frame/test/proxy_factory_mock.h" 14 #include "chrome_frame/test/proxy_factory_mock.h"
15 #include "chrome_frame/utils.h" 15 #include "chrome_frame/utils.h"
16 #include "gmock/gmock.h" 16 #include "gmock/gmock.h"
17 17
18 using testing::StrictMock; 18 using testing::StrictMock;
19 19
20 // ChromeFrameAutomationClient [CFAC] tests. 20 // ChromeFrameAutomationClient [CFAC] tests.
21 struct MockCFDelegate : public ChromeFrameDelegateImpl { 21 struct MockCFDelegate : public ChromeFrameDelegateImpl {
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 virtual void SetUp() { 179 virtual void SetUp() {
180 dummy_sender_.ForwardTo(&mock_proxy_); 180 dummy_sender_.ForwardTo(&mock_proxy_);
181 tracker_.reset(new AutomationHandleTracker()); 181 tracker_.reset(new AutomationHandleTracker());
182 182
183 client_ = new ChromeFrameAutomationClient; 183 client_ = new ChromeFrameAutomationClient;
184 client_->set_proxy_factory(&factory_); 184 client_->set_proxy_factory(&factory_);
185 } 185 }
186 }; 186 };
187 187
188 #endif // CHROME_FRAME_TEST_AUTOMATION_CLIENT_MOCK_H_ 188 #endif // CHROME_FRAME_TEST_AUTOMATION_CLIENT_MOCK_H_
OLDNEW
« no previous file with comments | « chrome_frame/simple_resource_loader.cc ('k') | chrome_frame/test/chrome_frame_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698