summaryrefslogtreecommitdiffstats
path: root/base/nsimage_cache_mac.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-22 20:29:58 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-22 20:29:58 +0000
commitca2b1cbcace07670d6631bfe226ffc906c009453 (patch)
tree8c6aa3f26331f06eb353fcf7a6d32860c42e736a /base/nsimage_cache_mac.h
parent1ce107fc44a5c1d3d92ad01bead09be8e8b2acad (diff)
downloadchromium_src-ca2b1cbcace07670d6631bfe226ffc906c009453.zip
chromium_src-ca2b1cbcace07670d6631bfe226ffc906c009453.tar.gz
chromium_src-ca2b1cbcace07670d6631bfe226ffc906c009453.tar.bz2
Move nsimage_cache from base to app/mac. Use the app::mac namespace. Update calling code.
Remove unnecessary refs to NullableString from render_thread.* TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/5961007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69973 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/nsimage_cache_mac.h')
-rw-r--r--base/nsimage_cache_mac.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/base/nsimage_cache_mac.h b/base/nsimage_cache_mac.h
deleted file mode 100644
index b13eac9..0000000
--- a/base/nsimage_cache_mac.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef BASE_NSIMAGE_CACHE_MAC_H_
-#define BASE_NSIMAGE_CACHE_MAC_H_
-#pragma once
-
-#ifdef __OBJC__
-@class NSImage;
-@class NSString;
-#else
-class NSImage;
-class NSString;
-#endif
-
-namespace nsimage_cache {
-
-// Returns an autoreleased image from the main app bundle
-// (mac_util::MainAppBundle()) with the given name, and keeps it in memory so
-// future fetches are fast.
-// NOTE:
-// - This should only be called on the main thread.
-// - The caller should retain the image if they want to keep it around, as
-// the cache could have limit on size/lifetime, etc.
-NSImage* ImageNamed(NSString* name);
-
-// Clears the cache.
-void Clear(void);
-
-} // namespace nsimage_cache
-
-#endif // BASE_NSIMAGE_CACHE_MAC_H_