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

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

Issue 8150002: Have Chrome Frame build its .idl artifacts into a sub-folder of SHARED_INTERMEDIATE_DIR, a global... (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"
16 #include "chrome_frame/test/chrome_frame_test_utils.h" 17 #include "chrome_frame/test/chrome_frame_test_utils.h"
17 #include "chrome_frame/test/test_server.h" 18 #include "chrome_frame/test/test_server.h"
18 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
19 #include "testing/gmock/include/gmock/gmock.h" 20 #include "testing/gmock/include/gmock/gmock.h"
20 21
21 // Include without path to make GYP build see it.
22 #include "chrome_tab.h" // NOLINT
23
24 // Specifies the invocation method for CF. 22 // Specifies the invocation method for CF.
25 class CFInvocation { 23 class CFInvocation {
26 public: 24 public:
27 enum Type { 25 enum Type {
28 NONE = 0, 26 NONE = 0,
29 META_TAG, 27 META_TAG,
30 HTTP_HEADER 28 HTTP_HEADER
31 }; 29 };
32 30
33 CFInvocation(): method_(NONE) {} 31 CFInvocation(): method_(NONE) {}
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 // Same as above except that the response does not include the no-cache header. 321 // Same as above except that the response does not include the no-cache header.
324 ACTION_P2(SendAllowCacheResponse, server, invocation) { 322 ACTION_P2(SendAllowCacheResponse, server, invocation) {
325 server->SendResponseHelper(arg0, arg1, invocation, false); 323 server->SendResponseHelper(arg0, arg1, invocation, false);
326 } 324 }
327 325
328 ACTION_P2(HandlePostedResponseHelper, server, invocation) { 326 ACTION_P2(HandlePostedResponseHelper, server, invocation) {
329 server->HandlePostedResponse(arg0, arg2); 327 server->HandlePostedResponse(arg0, arg2);
330 } 328 }
331 329
332 #endif // CHROME_FRAME_TEST_TEST_WITH_WEB_SERVER_H_ 330 #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