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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_PROTECTOR_SETTINGS_CHANGE_GLOBAL_ERROR_DELEGATE_H_
6 #define CHROME_BROWSER_PROTECTOR_SETTINGS_CHANGE_GLOBAL_ERROR_DELEGATE_H_
7
8 #include "base/basictypes.h"
9
10 class Browser;
11
12 namespace protector {
13
14 class SettingsChangeGlobalError;
15
16 // Interface for notifications about settings change error bubble closing.
17 class SettingsChangeGlobalErrorDelegate {
18 public:
19 virtual ~SettingsChangeGlobalErrorDelegate() {}
20
21 // Called if user clicks "Apply change" button.
22 virtual void OnApplyChange(SettingsChangeGlobalError* error,
23 Browser* browser) = 0;
24
25 // Called if user clicks "Discard change" button.
26 virtual void OnDiscardChange(SettingsChangeGlobalError* error,
27 Browser* browser) = 0;
28
29 // Called if user clicked outside the bubble and timeout for its reshow
30 // has passed.
31 virtual void OnDecisionTimeout(SettingsChangeGlobalError* error) = 0;
32
33 // Called when error is removed from profile so it's safe to delete it.
34 virtual void OnRemovedFromProfile(SettingsChangeGlobalError* error) = 0;
35 };
36
37 } // namespace protector
38
39 #endif // CHROME_BROWSER_PROTECTOR_SETTINGS_CHANGE_GLOBAL_ERROR_DELEGATE_H_
OLDNEW
« 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