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

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

Issue 8318013: Revert 105803 - Have Chrome Frame build its .idl artifacts into a sub-folder of SHARED_INTERMEDIA... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 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/test/ie_event_sink.h ('k') | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_TEST_WITH_WEB_SERVER_H_ 5 #ifndef CHROME_FRAME_TEST_TEST_WITH_WEB_SERVER_H_
6 #define CHROME_FRAME_TEST_TEST_WITH_WEB_SERVER_H_ 6 #define CHROME_FRAME_TEST_TEST_WITH_WEB_SERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <windows.h> 9 #include <windows.h>
10 #include <string> 10 #include <string>
11 11
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "base/stringprintf.h" 13 #include "base/stringprintf.h"
14 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
15 #include "base/win/scoped_handle.h" 15 #include "base/win/scoped_handle.h"
16 #include "chrome_frame/chrome_tab.h"
17 #include "chrome_frame/test/chrome_frame_test_utils.h" 16 #include "chrome_frame/test/chrome_frame_test_utils.h"
18 #include "chrome_frame/test/test_server.h" 17 #include "chrome_frame/test/test_server.h"
19 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
20 #include "testing/gmock/include/gmock/gmock.h" 19 #include "testing/gmock/include/gmock/gmock.h"
21 20
21 // Include without path to make GYP build see it.
22 #include "chrome_tab.h" // NOLINT
23
22 // Specifies the invocation method for CF. 24 // Specifies the invocation method for CF.
23 class CFInvocation { 25 class CFInvocation {
24 public: 26 public:
25 enum Type { 27 enum Type {
26 NONE = 0, 28 NONE = 0,
27 META_TAG, 29 META_TAG,
28 HTTP_HEADER 30 HTTP_HEADER
29 }; 31 };
30 32
31 CFInvocation(): method_(NONE) {} 33 CFInvocation(): method_(NONE) {}
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 // Same as above except that the response does not include the no-cache header. 323 // Same as above except that the response does not include the no-cache header.
322 ACTION_P2(SendAllowCacheResponse, server, invocation) { 324 ACTION_P2(SendAllowCacheResponse, server, invocation) {
323 server->SendResponseHelper(arg0, arg1, invocation, false); 325 server->SendResponseHelper(arg0, arg1, invocation, false);
324 } 326 }
325 327
326 ACTION_P2(HandlePostedResponseHelper, server, invocation) { 328 ACTION_P2(HandlePostedResponseHelper, server, invocation) {
327 server->HandlePostedResponse(arg0, arg2); 329 server->HandlePostedResponse(arg0, arg2);
328 } 330 }
329 331
330 #endif // CHROME_FRAME_TEST_TEST_WITH_WEB_SERVER_H_ 332 #endif // CHROME_FRAME_TEST_TEST_WITH_WEB_SERVER_H_
OLDNEW
« no previous file with comments | « chrome_frame/test/ie_event_sink.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698