| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_BROWSER_PRIVACY_BLACKLIST_BLACKLIST_IO_H_ | 5 #ifndef CHROME_BROWSER_PRIVACY_BLACKLIST_BLACKLIST_IO_H_ |
| 6 #define CHROME_BROWSER_PRIVACY_BLACKLIST_BLACKLIST_IO_H_ | 6 #define CHROME_BROWSER_PRIVACY_BLACKLIST_BLACKLIST_IO_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 | 9 |
| 10 #include "chrome/browser/privacy_blacklist/blacklist.h" | 10 #include "chrome/browser/privacy_blacklist/blacklist.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 return blacklist_; | 30 return blacklist_; |
| 31 } | 31 } |
| 32 const std::list<Blacklist::Provider*>& providers() const { | 32 const std::list<Blacklist::Provider*>& providers() const { |
| 33 return providers_; | 33 return providers_; |
| 34 } | 34 } |
| 35 | 35 |
| 36 std::list<Blacklist::Entry*> blacklist_; | 36 std::list<Blacklist::Entry*> blacklist_; |
| 37 std::list<Blacklist::Provider*> providers_; | 37 std::list<Blacklist::Provider*> providers_; |
| 38 | 38 |
| 39 FRIEND_TEST(BlacklistIOTest, Generic); | 39 FRIEND_TEST(BlacklistIOTest, Generic); |
| 40 FRIEND_TEST(BlacklistIOTest, Combine); |
| 40 DISALLOW_COPY_AND_ASSIGN(BlacklistIO); | 41 DISALLOW_COPY_AND_ASSIGN(BlacklistIO); |
| 41 }; | 42 }; |
| 42 | 43 |
| 43 #endif // CHROME_BROWSER_PRIVACY_BLACKLIST_BLACKLIST_IO_H_ | 44 #endif // CHROME_BROWSER_PRIVACY_BLACKLIST_BLACKLIST_IO_H_ |
| OLD | NEW |