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

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

Issue 1144033003: Don't install OEM default apps for enterprise users (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 (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_PROVIDER_IMPL_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTERNAL_PROVIDER_IMPL_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_PROVIDER_IMPL_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_PROVIDER_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 void set_install_immediately(bool install_immediately) { 83 void set_install_immediately(bool install_immediately) {
84 install_immediately_ = install_immediately; 84 install_immediately_ = install_immediately;
85 } 85 }
86 86
87 private: 87 private:
88 bool HandleMinProfileVersion(const base::DictionaryValue* extension, 88 bool HandleMinProfileVersion(const base::DictionaryValue* extension,
89 const std::string& extension_id, 89 const std::string& extension_id,
90 std::set<std::string>* unsupported_extensions); 90 std::set<std::string>* unsupported_extensions);
91 91
92 bool HandleInstalledByOem(const base::DictionaryValue* extension,
93 const std::string& extension_id,
94 std::set<std::string>* unsupported_extensions,
95 int* creation_flags);
96
92 // Location for external extensions that are provided by this provider from 97 // Location for external extensions that are provided by this provider from
93 // local crx files. 98 // local crx files.
94 const Manifest::Location crx_location_; 99 const Manifest::Location crx_location_;
95 100
96 // Location for external extensions that are provided by this provider from 101 // Location for external extensions that are provided by this provider from
97 // update URLs. 102 // update URLs.
98 const Manifest::Location download_location_; 103 const Manifest::Location download_location_;
99 104
100 // Weak pointer to the object that consumes the external extensions. 105 // Weak pointer to the object that consumes the external extensions.
101 // This is zeroed out by: ServiceShutdown() 106 // This is zeroed out by: ServiceShutdown()
(...skipping 23 matching lines...) Expand all
125 130
126 // Whether the extensions from this provider should be installed immediately. 131 // Whether the extensions from this provider should be installed immediately.
127 bool install_immediately_; 132 bool install_immediately_;
128 133
129 DISALLOW_COPY_AND_ASSIGN(ExternalProviderImpl); 134 DISALLOW_COPY_AND_ASSIGN(ExternalProviderImpl);
130 }; 135 };
131 136
132 } // namespace extensions 137 } // namespace extensions
133 138
134 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_PROVIDER_IMPL_H_ 139 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_PROVIDER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_service_unittest.cc ('k') | chrome/browser/extensions/external_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698