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

Unified Diff: chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.cc

Issue 1159163006: Fix build warning in device_command_screenshot_job.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change to FAILURE_CLIENT Created 5 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.cc
diff --git a/chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.cc b/chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.cc
index 28deddff49ddd147fe130f6740455a0c27cb423c..93f24ebcc0cbf8ed7b9b802ab0fd4892f4e81949 100644
--- a/chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.cc
+++ b/chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.cc
@@ -113,7 +113,7 @@ void DeviceCommandScreenshotJob::OnSuccess() {
}
void DeviceCommandScreenshotJob::OnFailure(UploadJob::ErrorCode error_code) {
- ResultCode result_code;
+ ResultCode result_code = FAILURE_CLIENT;
switch (error_code) {
case UploadJob::AUTHENTICATION_ERROR:
result_code = FAILURE_AUTHENTICATION;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698