diff options
Diffstat (limited to 'base/json')
-rw-r--r-- | base/json/json_reader.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/base/json/json_reader.h b/base/json/json_reader.h index 9a82e7f..47598f4 100644 --- a/base/json/json_reader.h +++ b/base/json/json_reader.h @@ -34,7 +34,12 @@ #include <string> #include "base/basictypes.h" -#include "testing/gtest/include/gtest/gtest_prod.h" + +// Chromium and Chromium OS check out gtest to different places, so we're +// unable to compile on both if we include gtest_prod.h here. Instead, include +// its only contents -- this will need to be updated if the macro ever changes. +#define FRIEND_TEST(test_case_name, test_name)\ +friend class test_case_name##_##test_name##_Test class Value; |