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

Side by Side Diff: extensions/browser/external_install_info.cc

Issue 1495403002: Observe adding external extensions via windows registry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync @tott Created 4 years, 10 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "extensions/browser/external_install_info.h"
6
7 #include "base/version.h"
8 #include "url/gurl.h"
9
10 namespace extensions {
11
12 ExternalInstallInfo::ExternalInstallInfo(const std::string& extension_id,
13 int creation_flags,
14 bool mark_acknowledged)
15 : extension_id(extension_id),
16 creation_flags(creation_flags),
17 mark_acknowledged(mark_acknowledged) {}
18
19 ExternalInstallInfoFile::ExternalInstallInfoFile(
20 const std::string& extension_id,
21 scoped_ptr<base::Version> version,
22 const base::FilePath& path,
23 Manifest::Location crx_location,
24 int creation_flags,
25 bool mark_acknowledged,
26 bool install_immediately)
27 : ExternalInstallInfo(extension_id, creation_flags, mark_acknowledged),
28 version(std::move(version)),
29 path(path),
30 crx_location(crx_location),
31 install_immediately(install_immediately) {}
32
33 ExternalInstallInfoFile::~ExternalInstallInfoFile() {}
34
35 ExternalInstallInfoUpdateUrl::ExternalInstallInfoUpdateUrl(
36 const std::string& extension_id,
37 const std::string& install_parameter,
38 scoped_ptr<GURL> update_url,
39 Manifest::Location download_location,
40 int creation_flags,
41 bool mark_acknowledged)
42 : ExternalInstallInfo(extension_id, creation_flags, mark_acknowledged),
43 install_parameter(install_parameter),
44 update_url(std::move(update_url)),
45 download_location(download_location) {}
46
47 ExternalInstallInfoUpdateUrl::~ExternalInstallInfoUpdateUrl() {}
48
49 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/external_install_info.h ('k') | extensions/browser/external_provider_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698