| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/memory/singleton.h" | 13 #include "base/memory/singleton.h" |
| 14 #include "base/observer_list_threadsafe.h" | 14 #include "base/observer_list_threadsafe.h" |
| 15 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
| 16 #include "base/threading/thread.h" | 16 #include "base/threading/thread.h" |
| 17 #include "chrome/browser/extensions/activity_log/activity_actions.h" | 17 #include "chrome/browser/extensions/activity_log/activity_actions.h" |
| 18 #include "chrome/browser/extensions/activity_log/activity_database.h" | 18 #include "chrome/browser/extensions/activity_log/activity_database.h" |
| 19 #include "chrome/browser/extensions/activity_log/activity_log_policy.h" | 19 #include "chrome/browser/extensions/activity_log/activity_log_policy.h" |
| 20 #include "chrome/browser/extensions/activity_log/api_actions.h" |
| 20 #include "chrome/browser/extensions/install_observer.h" | 21 #include "chrome/browser/extensions/install_observer.h" |
| 21 #include "chrome/browser/extensions/install_tracker.h" | 22 #include "chrome/browser/extensions/install_tracker.h" |
| 22 #include "chrome/browser/extensions/tab_helper.h" | 23 #include "chrome/browser/extensions/tab_helper.h" |
| 23 #include "chrome/browser/profiles/profile.h" | 24 #include "chrome/browser/profiles/profile.h" |
| 24 #include "chrome/common/extensions/dom_action_types.h" | 25 #include "chrome/common/extensions/dom_action_types.h" |
| 25 #include "components/browser_context_keyed_service/browser_context_dependency_ma
nager.h" | 26 #include "components/browser_context_keyed_service/browser_context_dependency_ma
nager.h" |
| 26 #include "components/browser_context_keyed_service/browser_context_keyed_service
.h" | 27 #include "components/browser_context_keyed_service/browser_context_keyed_service
.h" |
| 27 #include "components/browser_context_keyed_service/browser_context_keyed_service
_factory.h" | 28 #include "components/browser_context_keyed_service/browser_context_keyed_service
_factory.h" |
| 28 | 29 |
| 29 class Profile; | 30 class Profile; |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 virtual content::BrowserContext* GetBrowserContextToUse( | 241 virtual content::BrowserContext* GetBrowserContextToUse( |
| 241 content::BrowserContext* context) const OVERRIDE; | 242 content::BrowserContext* context) const OVERRIDE; |
| 242 | 243 |
| 243 DISALLOW_COPY_AND_ASSIGN(ActivityLogFactory); | 244 DISALLOW_COPY_AND_ASSIGN(ActivityLogFactory); |
| 244 }; | 245 }; |
| 245 | 246 |
| 246 | 247 |
| 247 } // namespace extensions | 248 } // namespace extensions |
| 248 | 249 |
| 249 #endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_H_ | 250 #endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_H_ |
| OLD | NEW |