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

Unified Diff: chrome/browser/protector/settings_change_global_error_delegate.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
Index: chrome/browser/protector/settings_change_global_error_delegate.h
diff --git a/chrome/browser/protector/settings_change_global_error_delegate.h b/chrome/browser/protector/settings_change_global_error_delegate.h
deleted file mode 100644
index a2db3d2d302379e2079c89ba3300509be74c3e7d..0000000000000000000000000000000000000000
--- a/chrome/browser/protector/settings_change_global_error_delegate.h
+++ /dev/null
@@ -1,39 +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_SETTINGS_CHANGE_GLOBAL_ERROR_DELEGATE_H_
-#define CHROME_BROWSER_PROTECTOR_SETTINGS_CHANGE_GLOBAL_ERROR_DELEGATE_H_
-
-#include "base/basictypes.h"
-
-class Browser;
-
-namespace protector {
-
-class SettingsChangeGlobalError;
-
-// Interface for notifications about settings change error bubble closing.
-class SettingsChangeGlobalErrorDelegate {
- public:
- virtual ~SettingsChangeGlobalErrorDelegate() {}
-
- // Called if user clicks "Apply change" button.
- virtual void OnApplyChange(SettingsChangeGlobalError* error,
- Browser* browser) = 0;
-
- // Called if user clicks "Discard change" button.
- virtual void OnDiscardChange(SettingsChangeGlobalError* error,
- Browser* browser) = 0;
-
- // Called if user clicked outside the bubble and timeout for its reshow
- // has passed.
- virtual void OnDecisionTimeout(SettingsChangeGlobalError* error) = 0;
-
- // Called when error is removed from profile so it's safe to delete it.
- virtual void OnRemovedFromProfile(SettingsChangeGlobalError* error) = 0;
-};
-
-} // namespace protector
-
-#endif // CHROME_BROWSER_PROTECTOR_SETTINGS_CHANGE_GLOBAL_ERROR_DELEGATE_H_
« no previous file with comments | « chrome/browser/protector/settings_change_global_error.cc ('k') | chrome/browser/search_engines/search_engine_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698