| Index: chrome/browser/android/history_report/data_provider.cc
|
| diff --git a/chrome/browser/android/history_report/data_provider.cc b/chrome/browser/android/history_report/data_provider.cc
|
| index e2892793b5bb297109789657993f1463dbff04bc..d589ece08ed179f860d5b3e32cf7b4c63004a698 100644
|
| --- a/chrome/browser/android/history_report/data_provider.cc
|
| +++ b/chrome/browser/android/history_report/data_provider.cc
|
| @@ -22,6 +22,8 @@
|
| using bookmarks::BookmarkModel;
|
|
|
| namespace {
|
| +static bool g_is_debug = false;
|
| +
|
| typedef base::hash_map<std::string, BookmarkModel::URLAndTitle*> BookmarkMap;
|
|
|
| struct Context {
|
| @@ -45,8 +47,8 @@ void UpdateUrl(Context* context,
|
| history_report::DeltaFileEntryWithData* entry = &((*urls)[position]);
|
| if (success) {
|
| entry->SetData(url);
|
| - } else {
|
| - LOG(WARNING) << "No data for url " << entry->Url();
|
| + } else if (g_is_debug){
|
| + LOG(WARNING) << "DB not initialized or no data for url " << entry->Url();
|
| }
|
| if (position + 1 == urls->size()) {
|
| context->finished.Signal();
|
|
|