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

Unified Diff: components/gcm_driver/gcm_channel_status_request.h

Issue 659393003: [GCM] DCHECK should not be used since it will skip the code inside (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Add test Created 6 years, 2 months 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 | components/gcm_driver/gcm_channel_status_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/gcm_channel_status_request.h
diff --git a/components/gcm_driver/gcm_channel_status_request.h b/components/gcm_driver/gcm_channel_status_request.h
index d7e4f218155bb3328088f43b80f03e52e44997eb..e1ddf159d9f736ab5de2679b5bf2c26280b5d0de 100644
--- a/components/gcm_driver/gcm_channel_status_request.h
+++ b/components/gcm_driver/gcm_channel_status_request.h
@@ -7,6 +7,7 @@
#include "base/callback.h"
#include "base/compiler_specific.h"
+#include "base/gtest_prod_util.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
@@ -49,6 +50,8 @@ class GCMChannelStatusRequest : public net::URLFetcherDelegate {
static int min_poll_interval_seconds();
private:
+ FRIEND_TEST_ALL_PREFIXES(GCMChannelStatusRequestTest, RequestData);
+
// Overridden from URLFetcherDelegate:
virtual void OnURLFetchComplete(const net::URLFetcher* source) override;
« no previous file with comments | « no previous file | components/gcm_driver/gcm_channel_status_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698