Index: chrome/browser/intents/cws_intents_registry.h |
diff --git a/chrome/browser/intents/cws_intents_registry.h b/chrome/browser/intents/cws_intents_registry.h |
index e5f9cec1e4e1276f68ce45db93d4f21fc79fb457..16e1b273cb6e20247ef86cd015558ab5db9a3565 100644 |
--- a/chrome/browser/intents/cws_intents_registry.h |
+++ b/chrome/browser/intents/cws_intents_registry.h |
@@ -17,6 +17,8 @@ namespace net { |
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, |
@@ -56,8 +58,7 @@ class CWSIntentsRegistry : public ProfileKeyedService, |
// Make sure that only CWSIntentsRegistryFactory can create an instance of |
// CWSIntentsRegistry. |
friend class CWSIntentsRegistryFactory; |
- FRIEND_TEST_ALL_PREFIXES(CWSIntentsRegistryTest, ValidQuery); |
- FRIEND_TEST_ALL_PREFIXES(CWSIntentsRegistryTest, InvalidQuery); |
+ friend class ::CWSIntentsRegistryForTest; |
struct IntentsQuery; |