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

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

Issue 5648004: Add the "virtual" keyword on method overrides that are missing it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing file Created 10 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
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <vector> 9 #include <vector>
10 10
(...skipping 23 matching lines...) Expand all
34 // Enable or disable a specific plugin file. 34 // Enable or disable a specific plugin file.
35 void EnablePluginFile(bool enable, const FilePath::StringType& file_path); 35 void EnablePluginFile(bool enable, const FilePath::StringType& file_path);
36 36
37 // Disable all plugin groups as defined by the user's preference file. 37 // Disable all plugin groups as defined by the user's preference file.
38 void DisablePluginGroupsFromPrefs(Profile* profile); 38 void DisablePluginGroupsFromPrefs(Profile* profile);
39 39
40 // Write the enable/disable status to the user's preference file. 40 // Write the enable/disable status to the user's preference file.
41 void UpdatePreferences(Profile* profile, int delay_ms); 41 void UpdatePreferences(Profile* profile, int delay_ms);
42 42
43 // NotificationObserver method overrides 43 // NotificationObserver method overrides
44 void Observe(NotificationType type, 44 virtual void Observe(NotificationType type,
45 const NotificationSource& source, 45 const NotificationSource& source,
46 const NotificationDetails& details); 46 const NotificationDetails& details);
47 47
48 static PluginUpdater* GetPluginUpdater(); 48 static PluginUpdater* GetPluginUpdater();
49 49
50 private: 50 private:
51 PluginUpdater(); 51 PluginUpdater();
52 virtual ~PluginUpdater() {} 52 virtual ~PluginUpdater() {}
53 53
54 // Called on the file thread to get the data necessary to update the saved 54 // Called on the file thread to get the data necessary to update the saved
55 // preferences. The profile pointer is only to be passed to the UI thread. 55 // preferences. The profile pointer is only to be passed to the UI thread.
56 static void GetPreferencesDataOnFileThread(void* profile); 56 static void GetPreferencesDataOnFileThread(void* profile);
(...skipping 23 matching lines...) Expand all
80 // Note: if you change this to false from true, you must update 80 // Note: if you change this to false from true, you must update
81 // kPluginsEnabledInternalPDF to be a new name (i.e. add 2, 3, 4...) at end. 81 // kPluginsEnabledInternalPDF to be a new name (i.e. add 2, 3, 4...) at end.
82 bool enable_internal_pdf_; 82 bool enable_internal_pdf_;
83 83
84 bool notify_pending_; 84 bool notify_pending_;
85 85
86 DISALLOW_COPY_AND_ASSIGN(PluginUpdater); 86 DISALLOW_COPY_AND_ASSIGN(PluginUpdater);
87 }; 87 };
88 88
89 #endif // CHROME_BROWSER_PLUGIN_UPDATER_H_ 89 #endif // CHROME_BROWSER_PLUGIN_UPDATER_H_
OLDNEW
« no previous file with comments | « chrome/browser/plugin_process_host.h ('k') | chrome/browser/policy/device_management_policy_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698