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

Side by Side Diff: chrome/browser/extensions/external_extension_provider_impl.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 method naming. 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
OLDNEW
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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_IMPL_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_IMPL_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_IMPL_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 // ExternalExtensionProvider implementation: 57 // ExternalExtensionProvider implementation:
58 virtual void ServiceShutdown() OVERRIDE; 58 virtual void ServiceShutdown() OVERRIDE;
59 virtual void VisitRegisteredExtension() OVERRIDE; 59 virtual void VisitRegisteredExtension() OVERRIDE;
60 virtual bool HasExtension(const std::string& id) const OVERRIDE; 60 virtual bool HasExtension(const std::string& id) const OVERRIDE;
61 virtual bool GetExtensionDetails(const std::string& id, 61 virtual bool GetExtensionDetails(const std::string& id,
62 Extension::Location* location, 62 Extension::Location* location,
63 scoped_ptr<Version>* version) const OVERRIDE; 63 scoped_ptr<Version>* version) const OVERRIDE;
64 64
65 virtual bool IsReady() const OVERRIDE; 65 virtual bool IsReady() const OVERRIDE;
66 virtual int GetCreationFlags() const OVERRIDE;
66 67
67 static const char kLocation[]; 68 static const char kLocation[];
68 static const char kState[]; 69 static const char kState[];
69 static const char kExternalCrx[]; 70 static const char kExternalCrx[];
70 static const char kExternalVersion[]; 71 static const char kExternalVersion[];
71 static const char kExternalUpdateUrl[]; 72 static const char kExternalUpdateUrl[];
72 static const char kSupportedLocales[]; 73 static const char kSupportedLocales[];
73 74
74 void set_auto_acknowledge(bool auto_acknowledge) { 75 void set_auto_acknowledge(bool auto_acknowledge) {
75 auto_acknowledge_ = auto_acknowledge; 76 auto_acknowledge_ = auto_acknowledge;
(...skipping 28 matching lines...) Expand all
104 int creation_flags_; 105 int creation_flags_;
105 106
106 // Whether loaded extensions should be automatically acknowledged, so that 107 // Whether loaded extensions should be automatically acknowledged, so that
107 // the user doesn't see an alert about them. 108 // the user doesn't see an alert about them.
108 bool auto_acknowledge_; 109 bool auto_acknowledge_;
109 110
110 DISALLOW_COPY_AND_ASSIGN(ExternalExtensionProviderImpl); 111 DISALLOW_COPY_AND_ASSIGN(ExternalExtensionProviderImpl);
111 }; 112 };
112 113
113 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_IMPL_H_ 114 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_service_unittest.cc ('k') | chrome/browser/extensions/external_extension_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698