summaryrefslogtreecommitdiffstats
path: root/chrome/browser/thumbnail_store.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-01 14:30:51 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-01 14:30:51 +0000
commita918f877c38b7a0bc684a2963fba4a4341a243e8 (patch)
treeb58938b92989fa1a75e8e2b0b62c21944d4cd3bb /chrome/browser/thumbnail_store.h
parentbe4d55fe8d843628223a7b40162007ab734d1402 (diff)
downloadchromium_src-a918f877c38b7a0bc684a2963fba4a4341a243e8.zip
chromium_src-a918f877c38b7a0bc684a2963fba4a4341a243e8.tar.gz
chromium_src-a918f877c38b7a0bc684a2963fba4a4341a243e8.tar.bz2
[GTTF] Add FRIEND_TEST_ALL_PREFIXES, a FRIEND_TEST replacement
that works with all test prefixes (DISABLED, FLAKY, FAILS). TEST=none BUG=44549 Review URL: http://codereview.chromium.org/2439001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48634 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/thumbnail_store.h')
-rw-r--r--chrome/browser/thumbnail_store.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/thumbnail_store.h b/chrome/browser/thumbnail_store.h
index ed95a02..a26b299 100644
--- a/chrome/browser/thumbnail_store.h
+++ b/chrome/browser/thumbnail_store.h
@@ -11,6 +11,7 @@
#include "app/sql/connection.h"
#include "base/file_path.h"
+#include "base/gtest_prod_util.h"
#include "base/message_loop.h"
#include "base/ref_counted.h"
#include "base/timer.h"
@@ -21,7 +22,6 @@
#include "chrome/common/pref_names.h"
#include "chrome/common/ref_counted_util.h"
#include "chrome/common/thumbnail_score.h"
-#include "testing/gtest/include/gtest/gtest_prod.h"
class DictionaryValue;
class GURL;
@@ -63,10 +63,10 @@ class ThumbnailStore : public base::RefCountedThreadSafe<ThumbnailStore>,
private:
friend class base::RefCountedThreadSafe<ThumbnailStore>;
- FRIEND_TEST(ThumbnailStoreTest, RetrieveFromCache);
- FRIEND_TEST(ThumbnailStoreTest, RetrieveFromDisk);
- FRIEND_TEST(ThumbnailStoreTest, UpdateThumbnail);
- FRIEND_TEST(ThumbnailStoreTest, FollowRedirects);
+ FRIEND_TEST_ALL_PREFIXES(ThumbnailStoreTest, RetrieveFromCache);
+ FRIEND_TEST_ALL_PREFIXES(ThumbnailStoreTest, RetrieveFromDisk);
+ FRIEND_TEST_ALL_PREFIXES(ThumbnailStoreTest, UpdateThumbnail);
+ FRIEND_TEST_ALL_PREFIXES(ThumbnailStoreTest, FollowRedirects);
friend class ThumbnailStoreTest;
~ThumbnailStore();