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

Side by Side Diff: extensions/browser/extension_icon_image.cc

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "extensions/browser/extension_icon_image.h" 5 #include "extensions/browser/extension_icon_image.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/macros.h"
10 #include "content/public/browser/notification_service.h" 11 #include "content/public/browser/notification_service.h"
11 #include "extensions/browser/image_loader.h" 12 #include "extensions/browser/image_loader.h"
12 #include "extensions/browser/notification_types.h" 13 #include "extensions/browser/notification_types.h"
13 #include "extensions/common/extension.h" 14 #include "extensions/common/extension.h"
14 #include "ui/base/layout.h" 15 #include "ui/base/layout.h"
15 #include "ui/gfx/canvas.h" 16 #include "ui/gfx/canvas.h"
16 #include "ui/gfx/geometry/size.h" 17 #include "ui/gfx/geometry/size.h"
17 #include "ui/gfx/geometry/size_conversions.h" 18 #include "ui/gfx/geometry/size_conversions.h"
18 #include "ui/gfx/image/canvas_image_source.h" 19 #include "ui/gfx/image/canvas_image_source.h"
19 #include "ui/gfx/image/image.h" 20 #include "ui/gfx/image/image.h"
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 const content::NotificationDetails& details) { 256 const content::NotificationDetails& details) {
256 DCHECK_EQ(type, extensions::NOTIFICATION_EXTENSION_REMOVED); 257 DCHECK_EQ(type, extensions::NOTIFICATION_EXTENSION_REMOVED);
257 258
258 const Extension* extension = content::Details<const Extension>(details).ptr(); 259 const Extension* extension = content::Details<const Extension>(details).ptr();
259 260
260 if (extension_ == extension) 261 if (extension_ == extension)
261 extension_ = NULL; 262 extension_ = NULL;
262 } 263 }
263 264
264 } // namespace extensions 265 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/extension_icon_image.h ('k') | extensions/browser/extension_icon_image_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698