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

Unified Diff: chrome/browser/protector/mock_setting_change.h

Issue 11493003: Remove the protector service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix implicit ExtensionSystem -> TemplateURLService dependency Created 8 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/protector/mock_protector_service.cc ('k') | chrome/browser/protector/mock_setting_change.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/protector/mock_setting_change.h
diff --git a/chrome/browser/protector/mock_setting_change.h b/chrome/browser/protector/mock_setting_change.h
deleted file mode 100644
index c05a7d8ffdb9bf54ac4ecada9836bfe8776dea79..0000000000000000000000000000000000000000
--- a/chrome/browser/protector/mock_setting_change.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) 2012 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 CHROME_BROWSER_PROTECTOR_MOCK_SETTING_CHANGE_H_
-#define CHROME_BROWSER_PROTECTOR_MOCK_SETTING_CHANGE_H_
-
-#include "base/compiler_specific.h"
-#include "chrome/browser/protector/base_setting_change.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace protector {
-
-class MockSettingChange : public BaseSettingChange {
- public:
- MockSettingChange();
- virtual ~MockSettingChange();
-
- virtual bool Init(Profile* profile) OVERRIDE;
-
- MOCK_METHOD1(MockInit, bool(Profile* profile));
- MOCK_METHOD1(InitWhenDisabled, void(Profile*));
- MOCK_METHOD1(Apply, void(Browser*));
- MOCK_METHOD1(Discard, void(Browser*));
- MOCK_METHOD0(Timeout, void());
-
- MOCK_CONST_METHOD0(GetBadgeIconID, int());
- MOCK_CONST_METHOD0(GetMenuItemIconID, int());
- MOCK_CONST_METHOD0(GetBubbleIconID, int());
-
- MOCK_CONST_METHOD0(GetBubbleTitle, string16());
- MOCK_CONST_METHOD0(GetBubbleMessage, string16());
- MOCK_CONST_METHOD0(GetApplyButtonText, string16());
- MOCK_CONST_METHOD0(GetDiscardButtonText, string16());
-
- MOCK_CONST_METHOD0(GetApplyDisplayName, DisplayName());
-
- MOCK_CONST_METHOD0(GetNewSettingURL, GURL());
- MOCK_CONST_METHOD0(CanBeMerged, bool());
-
- MOCK_CONST_METHOD0(IsUserVisible, bool());
-};
-
-} // namespace protector
-
-#endif // CHROME_BROWSER_PROTECTOR_MOCK_SETTING_CHANGE_H_
« no previous file with comments | « chrome/browser/protector/mock_protector_service.cc ('k') | chrome/browser/protector/mock_setting_change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698