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

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

Issue 8614003: Add OVERRIDE to chrome/browser/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/password_manager_delegate_impl.h ('k') | chrome/browser/plugin_observer.h » ('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_DATA_REMOVER_HELPER_H_ 5 #ifndef CHROME_BROWSER_PLUGIN_DATA_REMOVER_HELPER_H_
6 #define CHROME_BROWSER_PLUGIN_DATA_REMOVER_HELPER_H_ 6 #define CHROME_BROWSER_PLUGIN_DATA_REMOVER_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 30 matching lines...) Expand all
41 41
42 bool GetValue() const { return pref_.GetValue(); } 42 bool GetValue() const { return pref_.GetValue(); }
43 43
44 // Like PluginDataRemover::IsSupported, but checks that the returned plugin 44 // Like PluginDataRemover::IsSupported, but checks that the returned plugin
45 // is enabled by PluginPrefs 45 // is enabled by PluginPrefs
46 static bool IsSupported(PluginPrefs* plugin_prefs); 46 static bool IsSupported(PluginPrefs* plugin_prefs);
47 47
48 // content::NotificationObserver methods: 48 // content::NotificationObserver methods:
49 virtual void Observe(int type, 49 virtual void Observe(int type,
50 const content::NotificationSource& source, 50 const content::NotificationSource& source,
51 const content::NotificationDetails& details); 51 const content::NotificationDetails& details) OVERRIDE;
52 52
53 private: 53 private:
54 void StartUpdate(); 54 void StartUpdate();
55 void GotPlugins(scoped_refptr<PluginPrefs> plugin_prefs, 55 void GotPlugins(scoped_refptr<PluginPrefs> plugin_prefs,
56 const std::vector<webkit::WebPluginInfo>& plugins); 56 const std::vector<webkit::WebPluginInfo>& plugins);
57 57
58 BooleanPrefMember pref_; 58 BooleanPrefMember pref_;
59 content::NotificationRegistrar registrar_; 59 content::NotificationRegistrar registrar_;
60 // Weak pointer. 60 // Weak pointer.
61 Profile* profile_; 61 Profile* profile_;
62 base::WeakPtrFactory<PluginDataRemoverHelper> factory_; 62 base::WeakPtrFactory<PluginDataRemoverHelper> factory_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(PluginDataRemoverHelper); 64 DISALLOW_COPY_AND_ASSIGN(PluginDataRemoverHelper);
65 }; 65 };
66 66
67 #endif // CHROME_BROWSER_PLUGIN_DATA_REMOVER_HELPER_H_ 67 #endif // CHROME_BROWSER_PLUGIN_DATA_REMOVER_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/password_manager_delegate_impl.h ('k') | chrome/browser/plugin_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698