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

Side by Side Diff: Source/WebCore/Modules/webdatabase/DatabaseTask.cpp

Issue 13643002: Rename LOG() to LOG_INFO() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebase Created 7 years, 8 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2013 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 #endif 76 #endif
77 } 77 }
78 78
79 void DatabaseTask::performTask() 79 void DatabaseTask::performTask()
80 { 80 {
81 // Database tasks are meant to be used only once, so make sure this one hasn 't been performed before. 81 // Database tasks are meant to be used only once, so make sure this one hasn 't been performed before.
82 #if !LOG_DISABLED 82 #if !LOG_DISABLED
83 ASSERT(!m_complete); 83 ASSERT(!m_complete);
84 #endif 84 #endif
85 85
86 LOG(StorageAPI, "Performing %s %p\n", debugTaskName(), this); 86 LOG_INFO(StorageAPI, "Performing %s %p\n", debugTaskName(), this);
87 87
88 m_database->resetAuthorizer(); 88 m_database->resetAuthorizer();
89 doPerformTask(); 89 doPerformTask();
90 90
91 if (m_synchronizer) 91 if (m_synchronizer)
92 m_synchronizer->taskCompleted(); 92 m_synchronizer->taskCompleted();
93 93
94 #if !LOG_DISABLED 94 #if !LOG_DISABLED
95 m_complete = true; 95 m_complete = true;
96 #endif 96 #endif
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 #if !LOG_DISABLED 199 #if !LOG_DISABLED
200 const char* DatabaseBackend::DatabaseTableNamesTask::debugTaskName() const 200 const char* DatabaseBackend::DatabaseTableNamesTask::debugTaskName() const
201 { 201 {
202 return "DatabaseTableNamesTask"; 202 return "DatabaseTableNamesTask";
203 } 203 }
204 #endif 204 #endif
205 205
206 } // namespace WebCore 206 } // namespace WebCore
207 207
208 #endif 208 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/Modules/webdatabase/DatabaseManager.cpp ('k') | Source/WebCore/Modules/webdatabase/DatabaseThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698