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

Side by Side Diff: chrome_frame/test/html_util_unittests.cc

Issue 5270010: Revert 67662 - FBTF: Remove unneeded headers from base/ (part 10)... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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/chrome_tab.cc ('k') | chrome_frame/urlmon_url_request.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 <windows.h> 5 #include <windows.h>
6 #include <atlsecurity.h> 6 #include <atlsecurity.h>
7 #include <shellapi.h> 7 #include <shellapi.h>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/message_loop.h" 13 #include "base/message_loop.h"
14 #include "base/path_service.h" 14 #include "base/path_service.h"
15 #include "base/process_util.h" 15 #include "base/process_util.h"
16 #include "base/ref_counted.h" 16 #include "base/ref_counted.h"
17 #include "base/scoped_handle.h" 17 #include "base/scoped_handle.h"
18 #include "base/task.h"
18 #include "base/utf_string_conversions.h" 19 #include "base/utf_string_conversions.h"
19 #include "net/base/net_util.h" 20 #include "net/base/net_util.h"
20 21
21 #include "chrome/browser/automation/url_request_automation_job.h" 22 #include "chrome/browser/automation/url_request_automation_job.h"
22 #include "chrome_frame/chrome_frame_automation.h" 23 #include "chrome_frame/chrome_frame_automation.h"
23 #include "chrome_frame/chrome_frame_delegate.h" 24 #include "chrome_frame/chrome_frame_delegate.h"
24 #include "chrome_frame/html_utils.h" 25 #include "chrome_frame/html_utils.h"
25 #include "testing/gtest/include/gtest/gtest.h" 26 #include "testing/gtest/include/gtest/gtest.h"
26 #include "webkit/glue/user_agent.h" 27 #include "webkit/glue/user_agent.h"
27 28
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 "Content-Length: 42\r\n" 370 "Content-Length: 42\r\n"
370 "X-Frame-Options: SAMEORIGIN\r\n")); 371 "X-Frame-Options: SAMEORIGIN\r\n"));
371 EXPECT_TRUE(http_utils::HasFrameBustingHeader( 372 EXPECT_TRUE(http_utils::HasFrameBustingHeader(
372 "X-Frame-Options: deny\r\n" 373 "X-Frame-Options: deny\r\n"
373 "X-Frame-Options: ALLOWall\r\n" 374 "X-Frame-Options: ALLOWall\r\n"
374 "Content-Length: 42\r\n")); 375 "Content-Length: 42\r\n"));
375 EXPECT_TRUE(http_utils::HasFrameBustingHeader( 376 EXPECT_TRUE(http_utils::HasFrameBustingHeader(
376 "X-Frame-Options: SAMEORIGIN\r\n" 377 "X-Frame-Options: SAMEORIGIN\r\n"
377 "X-Frame-Options: ALLOWall\r\n")); 378 "X-Frame-Options: ALLOWall\r\n"));
378 } 379 }
OLDNEW
« no previous file with comments | « chrome_frame/chrome_tab.cc ('k') | chrome_frame/urlmon_url_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698