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

Unified Diff: sync/internal_api/http_bridge.cc

Issue 195973002: Change DCHECK_IS_ON() to DCHECK_IS_ON (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
Index: sync/internal_api/http_bridge.cc
diff --git a/sync/internal_api/http_bridge.cc b/sync/internal_api/http_bridge.cc
index 12cfda889c330601cb1e261c6be2f0ae95c5ae51..4b561fe4d8efb23159a5966adb8e8612179cdfd7 100644
--- a/sync/internal_api/http_bridge.cc
+++ b/sync/internal_api/http_bridge.cc
@@ -199,7 +199,7 @@ void HttpBridge::SetExtraRequestHeaders(const char * headers) {
void HttpBridge::SetURL(const char* url, int port) {
DCHECK_EQ(base::MessageLoop::current(), created_on_loop_);
- if (DCHECK_IS_ON()) {
+ if (DCHECK_IS_ON) {
base::AutoLock lock(fetch_state_lock_);
DCHECK(!fetch_state_.request_completed);
}
@@ -217,7 +217,7 @@ void HttpBridge::SetPostPayload(const char* content_type,
int content_length,
const char* content) {
DCHECK_EQ(base::MessageLoop::current(), created_on_loop_);
- if (DCHECK_IS_ON()) {
+ if (DCHECK_IS_ON) {
base::AutoLock lock(fetch_state_lock_);
DCHECK(!fetch_state_.request_completed);
}
@@ -236,7 +236,7 @@ void HttpBridge::SetPostPayload(const char* content_type,
bool HttpBridge::MakeSynchronousPost(int* error_code, int* response_code) {
DCHECK_EQ(base::MessageLoop::current(), created_on_loop_);
- if (DCHECK_IS_ON()) {
+ if (DCHECK_IS_ON) {
base::AutoLock lock(fetch_state_lock_);
DCHECK(!fetch_state_.request_completed);
}

Powered by Google App Engine
This is Rietveld 408576698