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

Side by Side Diff: chrome/browser/chromeos/login/image_downloader.cc

Issue 4011001: Convert LOG(INFO) to VLOG(1) - chrome/browser/chromeos/login/.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/login/image_downloader.h" 5 #include "chrome/browser/chromeos/login/image_downloader.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/stringprintf.h" 10 #include "base/stringprintf.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 const std::string& data) { 45 const std::string& data) {
46 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 46 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
47 if (response_code != 200) { 47 if (response_code != 200) {
48 LOG(ERROR) << "Response code is " << response_code; 48 LOG(ERROR) << "Response code is " << response_code;
49 LOG(ERROR) << "Url is " << url.spec(); 49 LOG(ERROR) << "Url is " << url.spec();
50 LOG(ERROR) << "Data is " << data; 50 LOG(ERROR) << "Data is " << data;
51 MessageLoop::current()->DeleteSoon(FROM_HERE, this); 51 MessageLoop::current()->DeleteSoon(FROM_HERE, this);
52 return; 52 return;
53 } 53 }
54 54
55 LOG(INFO) << "Decoding the image..."; 55 VLOG(1) << "Decoding the image...";
56 std::vector<unsigned char> image_data(data.begin(), data.end()); 56 std::vector<unsigned char> image_data(data.begin(), data.end());
57 scoped_refptr<ImageDecoder> image_decoder = new ImageDecoder(delegate_, 57 scoped_refptr<ImageDecoder> image_decoder = new ImageDecoder(delegate_,
58 image_data); 58 image_data);
59 image_decoder->Start(); 59 image_decoder->Start();
60 MessageLoop::current()->DeleteSoon(FROM_HERE, this); 60 MessageLoop::current()->DeleteSoon(FROM_HERE, this);
61 } 61 }
62 62
63 } // namespace chromeos 63 } // namespace chromeos
64 64
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/html_page_screen.cc ('k') | chrome/browser/chromeos/login/issue_response_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698