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

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

Issue 19690003: Extension activity log database refactoring (step 3) (Closed) Base URL: http://git.chromium.org/chromium/src.git@refactor2
Patch Set: Do not set bad BlockedChromeActivityDetail::Reason values Created 7 years, 4 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) 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_LOG_ACTIVITY_DATABASE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_DATABASE_H_
6 #define CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_DATABASE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_DATABASE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/memory/ref_counted_memory.h" 13 #include "base/memory/ref_counted_memory.h"
14 #include "base/synchronization/lock.h" 14 #include "base/synchronization/lock.h"
15 #include "base/timer/timer.h" 15 #include "base/timer/timer.h"
16 #include "chrome/browser/extensions/activity_log/api_actions.h" 16 #include "chrome/browser/extensions/activity_log/activity_actions.h"
17 #include "chrome/browser/extensions/activity_log/blocked_actions.h"
18 #include "chrome/browser/extensions/activity_log/dom_actions.h"
19 #include "chrome/common/extensions/extension.h" 17 #include "chrome/common/extensions/extension.h"
20 #include "content/public/browser/browser_thread.h" 18 #include "content/public/browser/browser_thread.h"
21 #include "sql/connection.h" 19 #include "sql/connection.h"
22 #include "sql/init_status.h" 20 #include "sql/init_status.h"
23 21
24 namespace base { 22 namespace base {
25 class Clock; 23 class Clock;
26 class FilePath; 24 class FilePath;
27 } 25 }
28 26
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 bool already_closed_; 173 bool already_closed_;
176 bool did_init_; 174 bool did_init_;
177 175
178 FRIEND_TEST_ALL_PREFIXES(ActivityDatabaseTest, BatchModeOff); 176 FRIEND_TEST_ALL_PREFIXES(ActivityDatabaseTest, BatchModeOff);
179 FRIEND_TEST_ALL_PREFIXES(ActivityDatabaseTest, BatchModeOn); 177 FRIEND_TEST_ALL_PREFIXES(ActivityDatabaseTest, BatchModeOn);
180 DISALLOW_COPY_AND_ASSIGN(ActivityDatabase); 178 DISALLOW_COPY_AND_ASSIGN(ActivityDatabase);
181 }; 179 };
182 180
183 } // namespace extensions 181 } // namespace extensions
184 #endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_DATABASE_H_ 182 #endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_DATABASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698