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

Unified Diff: chrome/browser/chromeos/customization/customization_document.cc

Issue 1036723003: favor DCHECK_CURRENTLY_ON for better logs in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « chrome/browser/chromeos/camera_detector.cc ('k') | chrome/browser/chromeos/device/input_service_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/customization/customization_document.cc
diff --git a/chrome/browser/chromeos/customization/customization_document.cc b/chrome/browser/chromeos/customization/customization_document.cc
index 9a3b87710d193b910b7f97461bcd13f82f0a1424..9aae363e3792defd1ca3c1fc51f697bdb370594c 100644
--- a/chrome/browser/chromeos/customization/customization_document.cc
+++ b/chrome/browser/chromeos/customization/customization_document.cc
@@ -539,7 +539,7 @@ void ServicesCustomizationDocument::StartFetching() {
void ServicesCustomizationDocument::ReadFileInBackground(
base::WeakPtr<ServicesCustomizationDocument> self,
const base::FilePath& file) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
+ DCHECK_CURRENTLY_ON(BrowserThread::FILE);
std::string manifest;
if (!base::ReadFileToString(file, &manifest)) {
@@ -874,7 +874,7 @@ void ServicesCustomizationDocument::CheckAndApplyWallpaper() {
void ServicesCustomizationDocument::OnCheckedWallpaperCacheExists(
scoped_ptr<bool> exists,
scoped_ptr<ServicesCustomizationDocument::ApplyingTask> applying) {
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
DCHECK(exists);
DCHECK(applying);
« no previous file with comments | « chrome/browser/chromeos/camera_detector.cc ('k') | chrome/browser/chromeos/device/input_service_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698