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

Unified Diff: chrome/browser/autofill/phone_number.h

Issue 5728005: Remove layer of indirection in PhoneNumberTest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A friend to all prefixes Created 10 years 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 | chrome/browser/autofill/phone_number_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/phone_number.h
diff --git a/chrome/browser/autofill/phone_number.h b/chrome/browser/autofill/phone_number.h
index 277e1b16586c11143f4e2e6c723807c0796eed2a..25648bc0b81a626c634f0006981667a12c1f751b 100644
--- a/chrome/browser/autofill/phone_number.h
+++ b/chrome/browser/autofill/phone_number.h
@@ -9,6 +9,7 @@
#include <vector>
#include "base/string16.h"
+#include "base/gtest_prod_util.h"
#include "chrome/browser/autofill/form_group.h"
// A form group that stores phone number information.
@@ -48,8 +49,7 @@ class PhoneNumber : public FormGroup {
explicit PhoneNumber(const PhoneNumber& phone_number);
private:
- // For test.
- friend class PhoneNumberTest;
+ FRIEND_TEST_ALL_PREFIXES(PhoneNumberTest, Matcher);
void operator=(const PhoneNumber& phone_number);
« no previous file with comments | « no previous file | chrome/browser/autofill/phone_number_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698