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

Side by Side Diff: chrome/browser/safe_browsing/malware_details_history.h

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SAFE_BROWSING_MALWARE_DETAILS_HISTORY_H_ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_HISTORY_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_HISTORY_H_ 6 #define CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_HISTORY_H_
7 7
8 // This class gets redirect chain for urls from the history service. 8 // This class gets redirect chain for urls from the history service.
9 9
10 #include <string> 10 #include <string>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 // Returns whether or not StartCacheCollection has been called. 43 // Returns whether or not StartCacheCollection has been called.
44 bool HasStarted() const; 44 bool HasStarted() const;
45 45
46 // Returns the redirect urls we get from history service 46 // Returns the redirect urls we get from history service
47 const std::vector<safe_browsing::RedirectChain>& GetCollectedUrls() const; 47 const std::vector<safe_browsing::RedirectChain>& GetCollectedUrls() const;
48 48
49 // content::NotificationObserver 49 // content::NotificationObserver
50 virtual void Observe(int type, 50 virtual void Observe(int type,
51 const content::NotificationSource& source, 51 const content::NotificationSource& source,
52 const content::NotificationDetails& details) OVERRIDE; 52 const content::NotificationDetails& details) override;
53 53
54 private: 54 private:
55 friend struct content::BrowserThread::DeleteOnThread< 55 friend struct content::BrowserThread::DeleteOnThread<
56 content::BrowserThread::UI>; 56 content::BrowserThread::UI>;
57 friend class base::DeleteHelper<MalwareDetailsRedirectsCollector>; 57 friend class base::DeleteHelper<MalwareDetailsRedirectsCollector>;
58 58
59 virtual ~MalwareDetailsRedirectsCollector(); 59 virtual ~MalwareDetailsRedirectsCollector();
60 60
61 void StartGetRedirects(const std::vector<GURL>& urls); 61 void StartGetRedirects(const std::vector<GURL>& urls);
62 void GetRedirects(const GURL& url); 62 void GetRedirects(const GURL& url);
(...skipping 20 matching lines...) Expand all
83 std::vector<GURL>::iterator urls_it_; 83 std::vector<GURL>::iterator urls_it_;
84 // The collected directs from history service 84 // The collected directs from history service
85 std::vector<safe_browsing::RedirectChain> redirects_urls_; 85 std::vector<safe_browsing::RedirectChain> redirects_urls_;
86 86
87 content::NotificationRegistrar registrar_; 87 content::NotificationRegistrar registrar_;
88 88
89 DISALLOW_COPY_AND_ASSIGN(MalwareDetailsRedirectsCollector); 89 DISALLOW_COPY_AND_ASSIGN(MalwareDetailsRedirectsCollector);
90 }; 90 };
91 91
92 #endif // CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_HISTORY_H_ 92 #endif // CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_HISTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/malware_details_cache.h ('k') | chrome/browser/safe_browsing/malware_details_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698