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

Side by Side Diff: extensions/browser/external_provider_interface.h

Issue 974713002: kiosk: Ensure launching latest version. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unittest compile Created 5 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
« no previous file with comments | « chrome/browser/extensions/external_provider_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 EXTENSIONS_BROWSER_EXTERNAL_PROVIDER_INTERFACE_H_ 5 #ifndef EXTENSIONS_BROWSER_EXTERNAL_PROVIDER_INTERFACE_H_
6 #define EXTENSIONS_BROWSER_EXTERNAL_PROVIDER_INTERFACE_H_ 6 #define EXTENSIONS_BROWSER_EXTERNAL_PROVIDER_INTERFACE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/linked_ptr.h" 10 #include "base/memory/linked_ptr.h"
(...skipping 22 matching lines...) Expand all
33 public: 33 public:
34 // Return true if the extension install will proceed. Install will not 34 // Return true if the extension install will proceed. Install will not
35 // proceed if the extension is already installed from a higher priority 35 // proceed if the extension is already installed from a higher priority
36 // location. 36 // location.
37 virtual bool OnExternalExtensionFileFound( 37 virtual bool OnExternalExtensionFileFound(
38 const std::string& id, 38 const std::string& id,
39 const base::Version* version, 39 const base::Version* version,
40 const base::FilePath& path, 40 const base::FilePath& path,
41 Manifest::Location location, 41 Manifest::Location location,
42 int creation_flags, 42 int creation_flags,
43 bool mark_acknowledged) = 0; 43 bool mark_acknowledged,
44 bool install_immediately) = 0;
44 45
45 // Return true if the extension install will proceed. Install might not 46 // Return true if the extension install will proceed. Install might not
46 // proceed if the extension is already installed from a higher priority 47 // proceed if the extension is already installed from a higher priority
47 // location. 48 // location.
48 virtual bool OnExternalExtensionUpdateUrlFound( 49 virtual bool OnExternalExtensionUpdateUrlFound(
49 const std::string& id, 50 const std::string& id,
50 const std::string& install_parameter, 51 const std::string& install_parameter,
51 const GURL& update_url, 52 const GURL& update_url,
52 Manifest::Location location, 53 Manifest::Location location,
53 int creation_flags, 54 int creation_flags,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // from its source. 92 // from its source.
92 virtual bool IsReady() const = 0; 93 virtual bool IsReady() const = 0;
93 }; 94 };
94 95
95 typedef std::vector<linked_ptr<ExternalProviderInterface> > 96 typedef std::vector<linked_ptr<ExternalProviderInterface> >
96 ProviderCollection; 97 ProviderCollection;
97 98
98 } // namespace extensions 99 } // namespace extensions
99 100
100 #endif // EXTENSIONS_BROWSER_EXTERNAL_PROVIDER_INTERFACE_H_ 101 #endif // EXTENSIONS_BROWSER_EXTERNAL_PROVIDER_INTERFACE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/external_provider_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698