Chromium Code Reviews| Index: chrome/browser/sync_file_system/drive/api_util.cc |
| diff --git a/chrome/browser/sync_file_system/drive/api_util.cc b/chrome/browser/sync_file_system/drive/api_util.cc |
| index 14653a8eeb42bf3aa1a27f56093361dab246fc1d..196f9edbc2673a81046517de21810b9d8bec3764 100644 |
| --- a/chrome/browser/sync_file_system/drive/api_util.cc |
| +++ b/chrome/browser/sync_file_system/drive/api_util.cc |
| @@ -17,6 +17,7 @@ |
| #include "chrome/browser/google_apis/gdata_wapi_service.h" |
| #include "chrome/browser/google_apis/gdata_wapi_url_generator.h" |
| #include "chrome/browser/profiles/profile.h" |
| +#include "chrome/browser/sync_file_system/logger.h" |
| #include "chrome/common/extensions/extension.h" |
| #include "extensions/common/constants.h" |
| #include "net/base/escape.h" |
| @@ -307,8 +308,8 @@ void APIUtil::DidEnsureUniquenessForCreateDirectory( |
| if (!entry->is_folder()) { |
| // TODO(kinuko): Fix this. http://crbug.com/237090 |
| - LOG(ERROR) << "A file is left for CreateDirectory due to " |
| - << "file-folder conflict!"; |
| + util::Log(logging::LOG_ERROR, |
|
nhiroki
2013/05/22 05:42:40
nit: Can you align the arguments?
calvinlo
2013/05/22 08:42:56
Done.
|
| + "A file is left for CreateDirectory due to file-folder conflict!"); |
| callback.Run(google_apis::HTTP_CONFLICT, std::string()); |
| return; |
| } |