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

Side by Side Diff: content/child/site_isolation_stats_gatherer_browsertest.cc

Issue 1174323002: [Patch 5 of 6] Split out the site_isolation_policy files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rename_policy_to_sniffer3
Patch Set: Re-upload. Created 5 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/strings/string_util.h" 6 #include "base/strings/string_util.h"
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "base/test/histogram_tester.h" 8 #include "base/test/histogram_tester.h"
9 #include "content/public/common/content_switches.h" 9 #include "content/public/common/content_switches.h"
10 #include "content/public/common/resource_type.h" 10 #include "content/public/common/resource_type.h"
11 #include "content/public/test/browser_test_utils.h" 11 #include "content/public/test/browser_test_utils.h"
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 // does not crash even when it receives a response body which is " ", whose 240 // does not crash even when it receives a response body which is " ", whose
241 // length is different from what's described in "content-length" for such 241 // length is different from what's described in "content-length" for such
242 // different targets. 242 // different targets.
243 243
244 // TODO(nick): Split up these cases, and add positive assertions here about 244 // TODO(nick): Split up these cases, and add positive assertions here about
245 // what actually happens in these various resource-block cases. 245 // what actually happens in these various resource-block cases.
246 GURL foo("http://foo.com/files/cross_site_document_request_target.html"); 246 GURL foo("http://foo.com/files/cross_site_document_request_target.html");
247 NavigateToURL(shell(), foo); 247 NavigateToURL(shell(), foo);
248 } 248 }
249 249
250 } 250 } // namespace content
OLDNEW
« no previous file with comments | « content/child/site_isolation_stats_gatherer.cc ('k') | content/child/site_isolation_stats_gatherer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698