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

Side by Side Diff: chrome/browser/safe_browsing/chrome_cleaner/srt_client_info_win.cc

Issue 2846333003: Chrome cleaner: move Chrome Cleaner files to their own directory (Closed)
Patch Set: Created 3 years, 7 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "chrome/browser/safe_browsing/srt_client_info_win.h" 5 #include "chrome/browser/safe_browsing/chrome_cleaner/srt_client_info_win.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/ui/browser.h" 9 #include "chrome/browser/ui/browser.h"
10 #include "chrome/browser/ui/browser_list.h" 10 #include "chrome/browser/ui/browser_list.h"
11 #include "chrome/common/channel_info.h" 11 #include "chrome/common/channel_info.h"
12 #include "components/safe_browsing_db/safe_browsing_prefs.h" 12 #include "components/safe_browsing_db/safe_browsing_prefs.h"
13 #include "components/version_info/version_info.h" 13 #include "components/version_info/version_info.h"
14 14
15 namespace safe_browsing { 15 namespace safe_browsing {
(...skipping 26 matching lines...) Expand all
42 } 42 }
43 43
44 bool SafeBrowsingExtendedReportingEnabled() { 44 bool SafeBrowsingExtendedReportingEnabled() {
45 BrowserList* browser_list = BrowserList::GetInstance(); 45 BrowserList* browser_list = BrowserList::GetInstance();
46 return std::any_of(browser_list->begin_last_active(), 46 return std::any_of(browser_list->begin_last_active(),
47 browser_list->end_last_active(), 47 browser_list->end_last_active(),
48 &SafeBrowsingExtendedEnabledForBrowser); 48 &SafeBrowsingExtendedEnabledForBrowser);
49 } 49 }
50 50
51 } // namespace safe_browsing 51 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698