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

Side by Side Diff: chrome/browser/plugin_updater.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « chrome/browser/plugin_exceptions_table_model.cc ('k') | chrome/browser/plugin_updater.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_PLUGIN_UPDATER_H_ 5 #ifndef CHROME_BROWSER_PLUGIN_UPDATER_H_
6 #define CHROME_BROWSER_PLUGIN_UPDATER_H_ 6 #define CHROME_BROWSER_PLUGIN_UPDATER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // plugin groups as defined by the user's preferences. 44 // plugin groups as defined by the user's preferences.
45 void SetProfile(Profile* profile); 45 void SetProfile(Profile* profile);
46 46
47 // Called at shutdown before the profile is destroyed. 47 // Called at shutdown before the profile is destroyed.
48 void Shutdown(); 48 void Shutdown();
49 49
50 // Write the enable/disable status to the user's preference file. 50 // Write the enable/disable status to the user's preference file.
51 void UpdatePreferences(Profile* profile, int delay_ms); 51 void UpdatePreferences(Profile* profile, int delay_ms);
52 52
53 // NotificationObserver method overrides 53 // NotificationObserver method overrides
54 virtual void Observe(NotificationType type, 54 virtual void Observe(int type,
55 const NotificationSource& source, 55 const NotificationSource& source,
56 const NotificationDetails& details); 56 const NotificationDetails& details);
57 57
58 static PluginUpdater* GetInstance(); 58 static PluginUpdater* GetInstance();
59 59
60 static void RegisterPrefs(PrefService* prefs); 60 static void RegisterPrefs(PrefService* prefs);
61 61
62 private: 62 private:
63 PluginUpdater(); 63 PluginUpdater();
64 virtual ~PluginUpdater() {} 64 virtual ~PluginUpdater() {}
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 friend struct DefaultSingletonTraits<PluginUpdater>; 97 friend struct DefaultSingletonTraits<PluginUpdater>;
98 98
99 PrefChangeRegistrar registrar_; 99 PrefChangeRegistrar registrar_;
100 100
101 bool notify_pending_; 101 bool notify_pending_;
102 102
103 DISALLOW_COPY_AND_ASSIGN(PluginUpdater); 103 DISALLOW_COPY_AND_ASSIGN(PluginUpdater);
104 }; 104 };
105 105
106 #endif // CHROME_BROWSER_PLUGIN_UPDATER_H_ 106 #endif // CHROME_BROWSER_PLUGIN_UPDATER_H_
OLDNEW
« no previous file with comments | « chrome/browser/plugin_exceptions_table_model.cc ('k') | chrome/browser/plugin_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698