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

Unified Diff: chrome/browser/extensions/blacklist.h

Issue 1420053005: Move code in components/safe_browsing_db and chrome/browser/s_b/ under the safe_browsing namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@02_components_move
Patch Set: Remove '// namespace safe_browsing' for a small fwd decl block. Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/download/download_commands.cc ('k') | chrome/browser/extensions/blacklist.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/blacklist.h
diff --git a/chrome/browser/extensions/blacklist.h b/chrome/browser/extensions/blacklist.h
index c39214e7f394a77aeffa45c0dca1adad71b56ca8..064501b8ca30712a9882ce581f0e1db46383560a 100644
--- a/chrome/browser/extensions/blacklist.h
+++ b/chrome/browser/extensions/blacklist.h
@@ -53,12 +53,13 @@ class Blacklist : public KeyedService,
class ScopedDatabaseManagerForTest {
public:
explicit ScopedDatabaseManagerForTest(
- scoped_refptr<SafeBrowsingDatabaseManager> database_manager);
+ scoped_refptr<safe_browsing::SafeBrowsingDatabaseManager>
+ database_manager);
~ScopedDatabaseManagerForTest();
private:
- scoped_refptr<SafeBrowsingDatabaseManager> original_;
+ scoped_refptr<safe_browsing::SafeBrowsingDatabaseManager> original_;
DISALLOW_COPY_AND_ASSIGN(ScopedDatabaseManagerForTest);
};
@@ -116,8 +117,10 @@ class Blacklist : public KeyedService,
private:
// Use via ScopedDatabaseManagerForTest.
static void SetDatabaseManager(
- scoped_refptr<SafeBrowsingDatabaseManager> database_manager);
- static scoped_refptr<SafeBrowsingDatabaseManager> GetDatabaseManager();
+ scoped_refptr<safe_browsing::SafeBrowsingDatabaseManager>
+ database_manager);
+ static scoped_refptr<safe_browsing::SafeBrowsingDatabaseManager>
+ GetDatabaseManager();
// content::NotificationObserver
void Observe(int type,
« no previous file with comments | « chrome/browser/download/download_commands.cc ('k') | chrome/browser/extensions/blacklist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698