OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "chrome/browser/extensions/activity_log/activity_log.h" | 5 #include "chrome/browser/extensions/activity_log/activity_log.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "components/syncable_prefs/pref_service_syncable.h" | 29 #include "components/syncable_prefs/pref_service_syncable.h" |
30 #include "content/public/browser/browser_thread.h" | 30 #include "content/public/browser/browser_thread.h" |
31 #include "content/public/browser/web_contents.h" | 31 #include "content/public/browser/web_contents.h" |
32 #include "extensions/browser/extension_registry.h" | 32 #include "extensions/browser/extension_registry.h" |
33 #include "extensions/browser/extension_registry_factory.h" | 33 #include "extensions/browser/extension_registry_factory.h" |
34 #include "extensions/browser/extension_system.h" | 34 #include "extensions/browser/extension_system.h" |
35 #include "extensions/browser/extension_system_provider.h" | 35 #include "extensions/browser/extension_system_provider.h" |
36 #include "extensions/browser/extensions_browser_client.h" | 36 #include "extensions/browser/extensions_browser_client.h" |
37 #include "extensions/common/extension.h" | 37 #include "extensions/common/extension.h" |
38 #include "extensions/common/one_shot_event.h" | 38 #include "extensions/common/one_shot_event.h" |
39 #include "third_party/re2/re2/re2.h" | 39 #include "third_party/re2/src/re2/re2.h" |
40 #include "url/gurl.h" | 40 #include "url/gurl.h" |
41 | 41 |
42 namespace constants = activity_log_constants; | 42 namespace constants = activity_log_constants; |
43 | 43 |
44 namespace extensions { | 44 namespace extensions { |
45 | 45 |
46 namespace { | 46 namespace { |
47 | 47 |
48 using constants::kArgUrlPlaceholder; | 48 using constants::kArgUrlPlaceholder; |
49 using content::BrowserThread; | 49 using content::BrowserThread; |
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
656 database_policy_->DeleteDatabase(); | 656 database_policy_->DeleteDatabase(); |
657 } | 657 } |
658 | 658 |
659 template <> | 659 template <> |
660 void BrowserContextKeyedAPIFactory<ActivityLog>::DeclareFactoryDependencies() { | 660 void BrowserContextKeyedAPIFactory<ActivityLog>::DeclareFactoryDependencies() { |
661 DependsOn(ExtensionsBrowserClient::Get()->GetExtensionSystemFactory()); | 661 DependsOn(ExtensionsBrowserClient::Get()->GetExtensionSystemFactory()); |
662 DependsOn(ExtensionRegistryFactory::GetInstance()); | 662 DependsOn(ExtensionRegistryFactory::GetInstance()); |
663 } | 663 } |
664 | 664 |
665 } // namespace extensions | 665 } // namespace extensions |
OLD | NEW |