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

Side by Side Diff: chrome/browser/protector/mock_setting_change.cc

Issue 10756018: Merge grd files in ui/resources and chrome/app/theme (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, *_standard.rc Created 8 years, 5 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/protector/mock_setting_change.h" 5 #include "chrome/browser/protector/mock_setting_change.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "grit/theme_resources.h" 8 #include "grit/theme_resources.h"
9 #include "grit/theme_resources_standard.h"
10 9
11 using ::testing::Return; 10 using ::testing::Return;
12 11
13 namespace protector { 12 namespace protector {
14 13
15 MockSettingChange::MockSettingChange() { 14 MockSettingChange::MockSettingChange() {
16 ON_CALL(*this, GetBadgeIconID()).WillByDefault(Return(IDR_UPDATE_BADGE4)); 15 ON_CALL(*this, GetBadgeIconID()).WillByDefault(Return(IDR_UPDATE_BADGE4));
17 ON_CALL(*this, GetMenuItemIconID()).WillByDefault(Return(IDR_UPDATE_MENU4)); 16 ON_CALL(*this, GetMenuItemIconID()).WillByDefault(Return(IDR_UPDATE_MENU4));
18 ON_CALL(*this, GetBubbleIconID()).WillByDefault(Return(IDR_INPUT_ALERT)); 17 ON_CALL(*this, GetBubbleIconID()).WillByDefault(Return(IDR_INPUT_ALERT));
19 18
(...skipping 19 matching lines...) Expand all
39 MockSettingChange::~MockSettingChange() { 38 MockSettingChange::~MockSettingChange() {
40 } 39 }
41 40
42 bool MockSettingChange::Init(Profile* profile) { 41 bool MockSettingChange::Init(Profile* profile) {
43 if (!BaseSettingChange::Init(profile)) 42 if (!BaseSettingChange::Init(profile))
44 return false; 43 return false;
45 return MockInit(profile); 44 return MockInit(profile);
46 } 45 }
47 46
48 } // namespace protector 47 } // namespace protector
OLDNEW
« no previous file with comments | « chrome/browser/protector/homepage_change.cc ('k') | chrome/browser/protector/prefs_backup_invalid_change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698