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

Side by Side Diff: chrome/browser/safe_browsing/incident_reporting/extension_data_collection.cc

Issue 2733343002: Move chrome/common/safe_browsing/csd.proto to components/safe_browsing (Closed)
Patch Set: rebase again Created 3 years, 9 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/safe_browsing/incident_reporting/extension_data_collect ion.h" 5 #include "chrome/browser/safe_browsing/incident_reporting/extension_data_collect ion.h"
6 6
7 #include "base/json/json_string_value_serializer.h" 7 #include "base/json/json_string_value_serializer.h"
8 #include "base/stl_util.h" 8 #include "base/stl_util.h"
9 #include "base/version.h" 9 #include "base/version.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
11 #include "chrome/browser/extensions/extension_util.h" 11 #include "chrome/browser/extensions/extension_util.h"
12 #include "chrome/browser/extensions/install_signer.h" 12 #include "chrome/browser/extensions/install_signer.h"
13 #include "chrome/browser/profiles/profile_manager.h" 13 #include "chrome/browser/profiles/profile_manager.h"
14 #include "chrome/browser/safe_browsing/incident_reporting/incident_reporting_ser vice.h" 14 #include "chrome/browser/safe_browsing/incident_reporting/incident_reporting_ser vice.h"
15 #include "chrome/common/safe_browsing/csd.pb.h" 15 #include "components/safe_browsing/csd.pb.h"
16 #include "extensions/browser/extension_prefs.h" 16 #include "extensions/browser/extension_prefs.h"
17 #include "extensions/browser/extension_prefs_factory.h" 17 #include "extensions/browser/extension_prefs_factory.h"
18 #include "extensions/browser/extension_registry.h" 18 #include "extensions/browser/extension_registry.h"
19 #include "extensions/browser/extension_registry_factory.h" 19 #include "extensions/browser/extension_registry_factory.h"
20 #include "extensions/common/extension_set.h" 20 #include "extensions/common/extension_set.h"
21 #include "extensions/common/manifest_constants.h" 21 #include "extensions/common/manifest_constants.h"
22 #include "extensions/features/features.h" 22 #include "extensions/features/features.h"
23 23
24 namespace safe_browsing { 24 namespace safe_browsing {
25 25
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 *last_installed_extension, 133 *last_installed_extension,
134 *extensions::ExtensionPrefs::Get(profile_for_last_installed_extension), 134 *extensions::ExtensionPrefs::Get(profile_for_last_installed_extension),
135 *extensions::ExtensionRegistryFactory::GetForBrowserContext( 135 *extensions::ExtensionRegistryFactory::GetForBrowserContext(
136 profile_for_last_installed_extension), 136 profile_for_last_installed_extension),
137 data->mutable_last_installed_extension()); 137 data->mutable_last_installed_extension());
138 } 138 }
139 #endif 139 #endif
140 } 140 }
141 141
142 } // namespace safe_browsing 142 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698