Index: chrome/browser/intents/cws_intents_registry.h |
=================================================================== |
--- chrome/browser/intents/cws_intents_registry.h (revision 148750) |
+++ chrome/browser/intents/cws_intents_registry.h (working copy) |
@@ -17,8 +17,6 @@ |
class URLRequestContextGetter; |
} |
-class CWSIntentsRegistryForTest; |
- |
// Handles storing and retrieving of web intents in the web database. |
// The registry provides filtering logic to retrieve specific types of intents. |
class CWSIntentsRegistry : public ProfileKeyedService, |
@@ -58,7 +56,8 @@ |
// Make sure that only CWSIntentsRegistryFactory can create an instance of |
// CWSIntentsRegistry. |
friend class CWSIntentsRegistryFactory; |
- friend class ::CWSIntentsRegistryForTest; |
+ FRIEND_TEST_ALL_PREFIXES(CWSIntentsRegistryTest, ValidQuery); |
+ FRIEND_TEST_ALL_PREFIXES(CWSIntentsRegistryTest, InvalidQuery); |
struct IntentsQuery; |