summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/bookmark_bar_toolbar_view_unittest.mm
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 20:00:09 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 20:00:09 +0000
commitb5d079536bcbf33c657fd96079bb7b2bd9644c0e (patch)
treeb9f4a20f69bbd3252464cf96e13b21d3d5b5ca09 /chrome/browser/cocoa/bookmark_bar_toolbar_view_unittest.mm
parent89beb4c0dc72aeb590a8944bf2f24b95b9c90425 (diff)
downloadchromium_src-b5d079536bcbf33c657fd96079bb7b2bd9644c0e.zip
chromium_src-b5d079536bcbf33c657fd96079bb7b2bd9644c0e.tar.gz
chromium_src-b5d079536bcbf33c657fd96079bb7b2bd9644c0e.tar.bz2
Make the ThemeProvider methods const.
BUG=none TEST=none Review URL: http://codereview.chromium.org/266037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28868 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/bookmark_bar_toolbar_view_unittest.mm')
-rw-r--r--chrome/browser/cocoa/bookmark_bar_toolbar_view_unittest.mm18
1 files changed, 9 insertions, 9 deletions
diff --git a/chrome/browser/cocoa/bookmark_bar_toolbar_view_unittest.mm b/chrome/browser/cocoa/bookmark_bar_toolbar_view_unittest.mm
index c2b83bf..37c61ae 100644
--- a/chrome/browser/cocoa/bookmark_bar_toolbar_view_unittest.mm
+++ b/chrome/browser/cocoa/bookmark_bar_toolbar_view_unittest.mm
@@ -28,17 +28,17 @@ class MockThemeProvider : public ThemeProvider {
public:
// Cross platform methods
MOCK_METHOD1(Init, void(Profile*));
- MOCK_METHOD1(GetBitmapNamed, SkBitmap*(int));
- MOCK_METHOD1(GetColor, SkColor(int));
- MOCK_METHOD2(GetDisplayProperty, bool(int, int*));
- MOCK_METHOD0(ShouldUseNativeFrame, bool());
- MOCK_METHOD1(HasCustomImage, bool(int));
- MOCK_METHOD2(GetRawData, bool(int, std::vector<unsigned char>*));
+ MOCK_CONST_METHOD1(GetBitmapNamed, SkBitmap*(int));
+ MOCK_CONST_METHOD1(GetColor, SkColor(int));
+ MOCK_CONST_METHOD2(GetDisplayProperty, bool(int, int*));
+ MOCK_CONST_METHOD0(ShouldUseNativeFrame, bool());
+ MOCK_CONST_METHOD1(HasCustomImage, bool(int));
+ MOCK_CONST_METHOD2(GetRawData, bool(int, std::vector<unsigned char>*));
// OSX stuff
- MOCK_METHOD1(GetNSImageNamed, NSImage*(int));
- MOCK_METHOD1(GetNSColor, NSColor*(int));
- MOCK_METHOD1(GetNSColorTint, NSColor*(int));
+ MOCK_CONST_METHOD1(GetNSImageNamed, NSImage*(int));
+ MOCK_CONST_METHOD1(GetNSColor, NSColor*(int));
+ MOCK_CONST_METHOD1(GetNSColorTint, NSColor*(int));
};
// Allows us to inject our fake controller below.