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

Unified Diff: chrome/browser/history/top_sites.h

Issue 3026013: Fix compile by using FRIEND_TEST_ALL_PREFIXES. (Closed)
Patch Set: Created 10 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/top_sites.h
diff --git a/chrome/browser/history/top_sites.h b/chrome/browser/history/top_sites.h
index 7515d2ca7eafc71fb387f5e74e14a4115b839adf..1fe51c17268b2a7c20390d0f182d2f6f461cfc7a 100644
--- a/chrome/browser/history/top_sites.h
+++ b/chrome/browser/history/top_sites.h
@@ -11,6 +11,7 @@
#include <vector>
#include "base/basictypes.h"
+#include "base/gtest_prod_util.h"
#include "base/lock.h"
#include "base/timer.h"
#include "base/ref_counted.h"
@@ -103,15 +104,15 @@ class TopSites : public NotificationObserver,
private:
friend class base::RefCountedThreadSafe<TopSites>;
friend class TopSitesTest;
- friend class TopSitesTest_GetMostVisited_Test;
- friend class TopSitesTest_RealDatabase_Test;
- friend class TopSitesTest_MockDatabase_Test;
- friend class TopSitesTest_DeleteNotifications_Test;
- friend class TopSitesTest_GetUpdateDelay_Test;
- friend class TopSitesTest_Migration_Test;
- friend class TopSitesTest_QueueingRequestsForTopSites_Test;
- friend class TopSitesTest_CancelingRequestsForTopSites_Test;
- friend class TopSitesTest_AddTemporaryThumbnail_Test;
+ FRIEND_TEST_ALL_PREFIXES(TopSitesTest, GetMostVisited);
+ FRIEND_TEST_ALL_PREFIXES(TopSitesTest, RealDatabase);
+ FRIEND_TEST_ALL_PREFIXES(TopSitesTest, MockDatabase);
+ FRIEND_TEST_ALL_PREFIXES(TopSitesTest, DeleteNotifications);
+ FRIEND_TEST_ALL_PREFIXES(TopSitesTest, GetUpdateDelay);
+ FRIEND_TEST_ALL_PREFIXES(TopSitesTest, MigrationTest);
gavinp 2010/07/23 00:11:29 FRIEND_TEST_ALL_PREFIXES(TopSitesTest, Migration);
+ FRIEND_TEST_ALL_PREFIXES(TopSitesTest, QueueingRequestsForTopSites);
+ FRIEND_TEST_ALL_PREFIXES(TopSitesTest, CancelingRequestsForTopSites);
+ FRIEND_TEST_ALL_PREFIXES(TopSitesTest, AddTemporaryThumbnail);
~TopSites();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698