OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_ACTIONS_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_ACTIVITY_ACTIONS_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_ACTIVITY_ACTIONS_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_ACTIVITY_ACTIONS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include "base/memory/ref_counted_memory.h" | 9 #include "base/memory/ref_counted_memory.h" |
10 #include "base/time.h" | 10 #include "base/time.h" |
11 #include "base/values.h" | 11 #include "base/values.h" |
12 #include "chrome/browser/history/url_database.h" | |
13 #include "sql/connection.h" | 12 #include "sql/connection.h" |
| 13 #include "sql/statement.h" |
14 #include "sql/transaction.h" | 14 #include "sql/transaction.h" |
15 | 15 |
16 namespace extensions { | 16 namespace extensions { |
17 | 17 |
18 // This is the interface for extension actions that are to be recorded in | 18 // This is the interface for extension actions that are to be recorded in |
19 // the activity log. | 19 // the activity log. |
20 class Action : public base::RefCountedThreadSafe<Action> { | 20 class Action : public base::RefCountedThreadSafe<Action> { |
21 public: | 21 public: |
22 static const char* kTableBasicFields; | 22 static const char* kTableBasicFields; |
23 | 23 |
(...skipping 27 matching lines...) Expand all Loading... |
51 | 51 |
52 std::string extension_id_; | 52 std::string extension_id_; |
53 base::Time time_; | 53 base::Time time_; |
54 | 54 |
55 DISALLOW_COPY_AND_ASSIGN(Action); | 55 DISALLOW_COPY_AND_ASSIGN(Action); |
56 }; | 56 }; |
57 | 57 |
58 } // namespace extensions | 58 } // namespace extensions |
59 | 59 |
60 #endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_ACTIONS_H_ | 60 #endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_ACTIONS_H_ |
61 | |
OLD | NEW |