| OLD | NEW |
| 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_DEFAULT_APPS_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_DEFAULT_APPS_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_DEFAULT_APPS_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_DEFAULT_APPS_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "chrome/browser/extensions/external_provider_impl.h" | 9 #include "chrome/browser/extensions/external_provider_impl.h" |
| 10 #include "extensions/common/manifest.h" | 10 #include "extensions/common/manifest.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 Provider(Profile* profile, | 44 Provider(Profile* profile, |
| 45 VisitorInterface* service, | 45 VisitorInterface* service, |
| 46 extensions::ExternalLoader* loader, | 46 extensions::ExternalLoader* loader, |
| 47 extensions::Manifest::Location crx_location, | 47 extensions::Manifest::Location crx_location, |
| 48 extensions::Manifest::Location download_location, | 48 extensions::Manifest::Location download_location, |
| 49 int creation_flags); | 49 int creation_flags); |
| 50 | 50 |
| 51 bool ShouldInstallInProfile(); | 51 bool ShouldInstallInProfile(); |
| 52 | 52 |
| 53 // ExternalProviderImpl overrides: | 53 // ExternalProviderImpl overrides: |
| 54 virtual void VisitRegisteredExtension() OVERRIDE; | 54 virtual void VisitRegisteredExtension() override; |
| 55 virtual void SetPrefs(base::DictionaryValue* prefs) OVERRIDE; | 55 virtual void SetPrefs(base::DictionaryValue* prefs) override; |
| 56 | 56 |
| 57 private: | 57 private: |
| 58 Profile* profile_; | 58 Profile* profile_; |
| 59 bool is_migration_; | 59 bool is_migration_; |
| 60 | 60 |
| 61 DISALLOW_COPY_AND_ASSIGN(Provider); | 61 DISALLOW_COPY_AND_ASSIGN(Provider); |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace default_apps | 64 } // namespace default_apps |
| 65 | 65 |
| 66 #endif // CHROME_BROWSER_EXTENSIONS_DEFAULT_APPS_H_ | 66 #endif // CHROME_BROWSER_EXTENSIONS_DEFAULT_APPS_H_ |
| OLD | NEW |