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

Side by Side Diff: chrome/browser/icon_manager.cc

Issue 107001: Move scoped_vector.h and stl_util-inl.h to base/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/icon_manager.h" 5 #include "chrome/browser/icon_manager.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/scoped_ptr.h" 8 #include "base/scoped_ptr.h"
9 #include "chrome/common/stl_util-inl.h" 9 #include "base/stl_util-inl.h"
10 #include "SkBitmap.h" 10 #include "SkBitmap.h"
11 #include "SkCanvas.h" 11 #include "SkCanvas.h"
12 12
13 IconManager::IconManager() { 13 IconManager::IconManager() {
14 } 14 }
15 15
16 IconManager::~IconManager() { 16 IconManager::~IconManager() {
17 STLDeleteValues(&icon_cache_); 17 STLDeleteValues(&icon_cache_);
18 } 18 }
19 19
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 IconLoader::IconSize size) 99 IconLoader::IconSize size)
100 : file_name(file_name), 100 : file_name(file_name),
101 size(size) { 101 size(size) {
102 } 102 }
103 103
104 bool IconManager::CacheKey::operator<(const CacheKey &other) const { 104 bool IconManager::CacheKey::operator<(const CacheKey &other) const {
105 if (file_name != other.file_name) 105 if (file_name != other.file_name)
106 return file_name < other.file_name; 106 return file_name < other.file_name;
107 return size < other.size; 107 return size < other.size;
108 } 108 }
OLDNEW
« no previous file with comments | « chrome/browser/history/starred_url_database.cc ('k') | chrome/browser/navigation_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698