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

Side by Side Diff: chrome/browser/chromeos/extensions/wallpaper_function_base.cc

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/extensions/wallpaper_function_base.h" 5 #include "chrome/browser/chromeos/extensions/wallpaper_function_base.h"
6 6
7 #include "base/macros.h"
7 #include "base/metrics/histogram_macros.h" 8 #include "base/metrics/histogram_macros.h"
8 #include "base/synchronization/cancellation_flag.h" 9 #include "base/synchronization/cancellation_flag.h"
9 #include "chrome/browser/image_decoder.h" 10 #include "chrome/browser/image_decoder.h"
10 #include "chrome/grit/generated_resources.h" 11 #include "chrome/grit/generated_resources.h"
11 #include "chromeos/login/login_state.h" 12 #include "chromeos/login/login_state.h"
12 #include "components/wallpaper/wallpaper_layout.h" 13 #include "components/wallpaper/wallpaper_layout.h"
13 #include "ui/base/l10n/l10n_util.h" 14 #include "ui/base/l10n/l10n_util.h"
14 15
15 using content::BrowserThread; 16 using content::BrowserThread;
16 17
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 unsafe_wallpaper_decoder_ = NULL; 120 unsafe_wallpaper_decoder_ = NULL;
120 SetError(wallpaper_api_util::kCancelWallpaperMessage); 121 SetError(wallpaper_api_util::kCancelWallpaperMessage);
121 SendResponse(false); 122 SendResponse(false);
122 } 123 }
123 124
124 void WallpaperFunctionBase::OnFailure(const std::string& error) { 125 void WallpaperFunctionBase::OnFailure(const std::string& error) {
125 unsafe_wallpaper_decoder_ = NULL; 126 unsafe_wallpaper_decoder_ = NULL;
126 SetError(error); 127 SetError(error);
127 SendResponse(false); 128 SendResponse(false);
128 } 129 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698