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

Side by Side Diff: chrome/browser/extensions/external_extension_provider_interface.h

Issue 9133023: Fix default apps losing the "bookmark app" bit once they get updated. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix from_webstore Created 8 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/extensions/external_extension_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 (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_EXTERNAL_EXTENSION_PROVIDER_INTERFACE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_INTERFACE_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_INTERFACE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_INTERFACE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // if they are not NULL. If an output parameter is not specified by the 73 // if they are not NULL. If an output parameter is not specified by the
74 // provider type, it will not be changed. 74 // provider type, it will not be changed.
75 // This function is no longer used outside unit tests. 75 // This function is no longer used outside unit tests.
76 virtual bool GetExtensionDetails(const std::string& id, 76 virtual bool GetExtensionDetails(const std::string& id,
77 Extension::Location* location, 77 Extension::Location* location,
78 scoped_ptr<Version>* version) const = 0; 78 scoped_ptr<Version>* version) const = 0;
79 79
80 // Determines if this provider had loaded the list of external extensions 80 // Determines if this provider had loaded the list of external extensions
81 // from its source. 81 // from its source.
82 virtual bool IsReady() const = 0; 82 virtual bool IsReady() const = 0;
83
84 // The creation flags that the provider passes to
85 // OnExternalExtensionFileFound.
86 virtual int creation_flags() const = 0;
Aaron Boodman 2012/01/15 06:09:18 Virtual methods should not ever use unix_hacker st
Mihai Parparita -not on Chrome 2012/01/17 17:22:55 Done.
83 }; 87 };
84 88
85 typedef std::vector<linked_ptr<ExternalExtensionProviderInterface> > 89 typedef std::vector<linked_ptr<ExternalExtensionProviderInterface> >
86 ProviderCollection; 90 ProviderCollection;
87 91
88 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_INTERFACE_H_ 92 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_INTERFACE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/external_extension_provider_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698