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

Side by Side Diff: chrome/browser/policy/url_blacklist_manager_unittest.cc

Issue 7930011: Readability review for joaodasilva (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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
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 #include "chrome/browser/policy/url_blacklist_manager.h" 5 #include "chrome/browser/policy/url_blacklist_manager.h"
6 6
7 #include <ostream> 7 #include <ostream>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 EXPECT_FALSE(blacklist.IsURLBlocked(GURL("https://mail.google.com"))); 411 EXPECT_FALSE(blacklist.IsURLBlocked(GURL("https://mail.google.com")));
412 EXPECT_FALSE(blacklist.IsURLBlocked(GURL("https://s.mail.google.com"))); 412 EXPECT_FALSE(blacklist.IsURLBlocked(GURL("https://s.mail.google.com")));
413 EXPECT_TRUE(blacklist.IsURLBlocked(GURL("https://very.safe/"))); 413 EXPECT_TRUE(blacklist.IsURLBlocked(GURL("https://very.safe/")));
414 EXPECT_TRUE(blacklist.IsURLBlocked(GURL("http://very.safe/path"))); 414 EXPECT_TRUE(blacklist.IsURLBlocked(GURL("http://very.safe/path")));
415 EXPECT_FALSE(blacklist.IsURLBlocked(GURL("https://very.safe/path"))); 415 EXPECT_FALSE(blacklist.IsURLBlocked(GURL("https://very.safe/path")));
416 } 416 }
417 417
418 } // namespace 418 } // namespace
419 419
420 } // namespace policy 420 } // namespace policy
421
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698