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

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

Issue 448423002: Use a qualified path for grit includes in chrome/browser/chromeos. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build Created 6 years, 4 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 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/synchronization/cancellation_flag.h" 7 #include "base/synchronization/cancellation_flag.h"
8 #include "chrome/browser/image_decoder.h" 8 #include "chrome/browser/image_decoder.h"
9 #include "chrome/grit/generated_resources.h"
9 #include "chromeos/login/login_state.h" 10 #include "chromeos/login/login_state.h"
10 #include "grit/generated_resources.h"
11 #include "ui/base/l10n/l10n_util.h" 11 #include "ui/base/l10n/l10n_util.h"
12 12
13 using content::BrowserThread; 13 using content::BrowserThread;
14 14
15 namespace wallpaper_api_util { 15 namespace wallpaper_api_util {
16 namespace { 16 namespace {
17 17
18 // Keeps in sync (same order) with WallpaperLayout enum in header file. 18 // Keeps in sync (same order) with WallpaperLayout enum in header file.
19 const char* kWallpaperLayoutArrays[] = { 19 const char* kWallpaperLayoutArrays[] = {
20 "CENTER", 20 "CENTER",
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 unsafe_wallpaper_decoder_ = NULL; 117 unsafe_wallpaper_decoder_ = NULL;
118 SetError(wallpaper_api_util::kCancelWallpaperMessage); 118 SetError(wallpaper_api_util::kCancelWallpaperMessage);
119 SendResponse(false); 119 SendResponse(false);
120 } 120 }
121 121
122 void WallpaperFunctionBase::OnFailure(const std::string& error) { 122 void WallpaperFunctionBase::OnFailure(const std::string& error) {
123 unsafe_wallpaper_decoder_ = NULL; 123 unsafe_wallpaper_decoder_ = NULL;
124 SetError(error); 124 SetError(error);
125 SendResponse(false); 125 SendResponse(false);
126 } 126 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698