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

Side by Side Diff: components/safe_browsing/triggers/trigger_manager.h

Issue 2855643002: Very basic change to add a TriggerManager class owned by SafeBrowsingService. (Closed)
Patch Set: Fix copyright date 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
(Empty)
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_SAFE_BROWSING_TRIGGERS_TRIGGER_MANAGER_H_
6 #define COMPONENTS_SAFE_BROWSING_TRIGGERS_TRIGGER_MANAGER_H_
7
8 #include "base/macros.h"
9
10 namespace safe_browsing {
11
12 // This class manager SafeBrowsing triggers. It has two main responsibilities:
13 // 1) ensuring triggers only run when appropriate by honouring user opt-ins and
14 // incognito state, and 2) tracking how often triggers fire and throttling them
15 // when necessary.
16 class TriggerManager {
17 public:
18 TriggerManager();
19 ~TriggerManager();
20
21 private:
22 DISALLOW_COPY_AND_ASSIGN(TriggerManager);
23 };
24
25 } // namespace safe_browsing
26
27 #endif // COMPONENTS_SAFE_BROWSING_TRIGGERS_TRIGGER_MANAGER_H_
OLDNEW
« no previous file with comments | « components/safe_browsing/triggers/BUILD.gn ('k') | components/safe_browsing/triggers/trigger_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698