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

Side by Side Diff: chrome/browser/extensions/blacklist.h

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_EXTENSIONS_BLACKLIST_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_BLACKLIST_H_
6 #define CHROME_BROWSER_EXTENSIONS_BLACKLIST_H_ 6 #define CHROME_BROWSER_EXTENSIONS_BLACKLIST_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 private: 108 private:
109 // Use via ScopedDatabaseManagerForTest. 109 // Use via ScopedDatabaseManagerForTest.
110 static void SetDatabaseManager( 110 static void SetDatabaseManager(
111 scoped_refptr<SafeBrowsingDatabaseManager> database_manager); 111 scoped_refptr<SafeBrowsingDatabaseManager> database_manager);
112 static scoped_refptr<SafeBrowsingDatabaseManager> GetDatabaseManager(); 112 static scoped_refptr<SafeBrowsingDatabaseManager> GetDatabaseManager();
113 113
114 // content::NotificationObserver 114 // content::NotificationObserver
115 virtual void Observe(int type, 115 virtual void Observe(int type,
116 const content::NotificationSource& source, 116 const content::NotificationSource& source,
117 const content::NotificationDetails& details) OVERRIDE; 117 const content::NotificationDetails& details) override;
118 118
119 void GetBlacklistStateForIDs(const GetBlacklistedIDsCallback& callback, 119 void GetBlacklistStateForIDs(const GetBlacklistedIDsCallback& callback,
120 const std::set<std::string>& blacklisted_ids); 120 const std::set<std::string>& blacklisted_ids);
121 121
122 void RequestExtensionsBlacklistState(const std::set<std::string>& ids, 122 void RequestExtensionsBlacklistState(const std::set<std::string>& ids,
123 const base::Callback<void()>& callback); 123 const base::Callback<void()>& callback);
124 124
125 void OnBlacklistStateReceived(const std::string& id, BlacklistState state); 125 void OnBlacklistStateReceived(const std::string& id, BlacklistState state);
126 126
127 void ReturnBlacklistStateMap(const GetBlacklistedIDsCallback& callback, 127 void ReturnBlacklistStateMap(const GetBlacklistedIDsCallback& callback,
(...skipping 17 matching lines...) Expand all
145 // GetBlacklistedIDs and deleted when the callback is called from 145 // GetBlacklistedIDs and deleted when the callback is called from
146 // OnBlacklistStateReceived. 146 // OnBlacklistStateReceived.
147 StateRequestsList state_requests_; 147 StateRequestsList state_requests_;
148 148
149 DISALLOW_COPY_AND_ASSIGN(Blacklist); 149 DISALLOW_COPY_AND_ASSIGN(Blacklist);
150 }; 150 };
151 151
152 } // namespace extensions 152 } // namespace extensions
153 153
154 #endif // CHROME_BROWSER_EXTENSIONS_BLACKLIST_H_ 154 #endif // CHROME_BROWSER_EXTENSIONS_BLACKLIST_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/background_app_browsertest.cc ('k') | chrome/browser/extensions/blacklist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698