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

Side by Side Diff: extensions/common/extension_icon_set.cc

Issue 225043002: Move extension_icon_set.{h,cc} to //extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 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
« no previous file with comments | « extensions/common/extension_icon_set.h ('k') | extensions/extensions.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/common/extensions/extension_icon_set.h" 5 #include "extensions/common/extension_icon_set.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 ExtensionIconSet::ExtensionIconSet() {} 9 ExtensionIconSet::ExtensionIconSet() {}
10 10
11 ExtensionIconSet::~ExtensionIconSet() {} 11 ExtensionIconSet::~ExtensionIconSet() {}
12 12
13 void ExtensionIconSet::Clear() { 13 void ExtensionIconSet::Clear() {
14 map_.clear(); 14 map_.clear();
15 } 15 }
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 "ExtensionIconSet stores icon paths without leading slash."; 61 "ExtensionIconSet stores icon paths without leading slash.";
62 62
63 for (IconMap::const_iterator iter = map_.begin(); iter != map_.end(); 63 for (IconMap::const_iterator iter = map_.begin(); iter != map_.end();
64 ++iter) { 64 ++iter) {
65 if (iter->second == path) 65 if (iter->second == path)
66 return iter->first; 66 return iter->first;
67 } 67 }
68 68
69 return 0; 69 return 0;
70 } 70 }
OLDNEW
« no previous file with comments | « extensions/common/extension_icon_set.h ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698