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

Side by Side Diff: chrome/browser/extensions/activity_log/activity_log_policy.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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_ACTIVITY_LOG_ACTIVITY_LOG_POLICY_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_POLICY_H_
6 #define CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_POLICY_H_ 6 #define CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_POLICY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 10 matching lines...) Expand all
21 #include "chrome/browser/extensions/activity_log/activity_actions.h" 21 #include "chrome/browser/extensions/activity_log/activity_actions.h"
22 #include "chrome/browser/extensions/activity_log/activity_database.h" 22 #include "chrome/browser/extensions/activity_log/activity_database.h"
23 #include "chrome/common/extensions/api/activity_log_private.h" 23 #include "chrome/common/extensions/api/activity_log_private.h"
24 #include "content/public/browser/browser_thread.h" 24 #include "content/public/browser/browser_thread.h"
25 #include "url/gurl.h" 25 #include "url/gurl.h"
26 26
27 class Profile; 27 class Profile;
28 class GURL; 28 class GURL;
29 29
30 namespace base { 30 namespace base {
31 class Clock;
31 class FilePath; 32 class FilePath;
32 } 33 }
33 34
34 namespace extensions { 35 namespace extensions {
35 36
36 class Extension;
37 37
38 // An abstract class for processing and summarizing activity log data. 38 // An abstract class for processing and summarizing activity log data.
39 // Subclasses will generally store data in an SQLite database (the 39 // Subclasses will generally store data in an SQLite database (the
40 // ActivityLogDatabasePolicy subclass includes some helper methods to assist 40 // ActivityLogDatabasePolicy subclass includes some helper methods to assist
41 // with this case), but this is not absolutely required. 41 // with this case), but this is not absolutely required.
42 // 42 //
43 // Implementations should support: 43 // Implementations should support:
44 // (1) Receiving Actions to process, and summarizing, compression, and storing 44 // (1) Receiving Actions to process, and summarizing, compression, and storing
45 // these as appropriate. 45 // these as appropriate.
46 // (2) Reading Actions back from storage. 46 // (2) Reading Actions back from storage.
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 private: 226 private:
227 // See the comments for the ActivityDatabase class for a discussion of how 227 // See the comments for the ActivityDatabase class for a discussion of how
228 // database cleanup runs. 228 // database cleanup runs.
229 ActivityDatabase* db_; 229 ActivityDatabase* db_;
230 base::FilePath database_path_; 230 base::FilePath database_path_;
231 }; 231 };
232 232
233 } // namespace extensions 233 } // namespace extensions
234 234
235 #endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_POLICY_H_ 235 #endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_POLICY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698