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

Side by Side Diff: chrome/browser/extensions/image_loading_tracker_unittest.cc

Issue 11045030: Give Chrome Web Store app an icon in its manifest file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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) 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/browser/extensions/image_loading_tracker.h" 5 #include "chrome/browser/extensions/image_loading_tracker.h"
6 6
7 #include "base/json/json_file_value_serializer.h" 7 #include "base/json/json_file_value_serializer.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "chrome/common/chrome_notification_types.h" 10 #include "chrome/common/chrome_notification_types.h"
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 246
247 ExtensionResource resource = 247 ExtensionResource resource =
248 extension->GetIconResource(extension_misc::EXTENSION_ICON_BITTY, 248 extension->GetIconResource(extension_misc::EXTENSION_ICON_BITTY,
249 ExtensionIconSet::MATCH_EXACTLY); 249 ExtensionIconSet::MATCH_EXACTLY);
250 250
251 #if defined(FILE_MANAGER_EXTENSION) 251 #if defined(FILE_MANAGER_EXTENSION)
252 ImageLoadingTracker loader(this); 252 ImageLoadingTracker loader(this);
253 int resource_id; 253 int resource_id;
254 ASSERT_EQ(true, 254 ASSERT_EQ(true,
255 loader.IsComponentExtensionResource(extension.get(), 255 loader.IsComponentExtensionResource(extension.get(),
256 resource, 256 resource.relative_path(),
257 resource_id)); 257 &resource_id));
258 ASSERT_EQ(IDR_FILE_MANAGER_ICON_16, resource_id); 258 ASSERT_EQ(IDR_FILE_MANAGER_ICON_16, resource_id);
259 #endif 259 #endif
260 } 260 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/image_loading_tracker.cc ('k') | chrome/browser/resources/chrome_app/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698