OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/extensions/external_component_loader.h" |
| 6 |
| 7 #include "base/values.h" |
| 8 #include "chrome/common/extensions/extension_constants.h" |
| 9 |
| 10 namespace extensions { |
| 11 |
| 12 ExternalComponentLoader::ExternalComponentLoader() {} |
| 13 |
| 14 ExternalComponentLoader::~ExternalComponentLoader() {} |
| 15 |
| 16 void ExternalComponentLoader::StartLoading() { |
| 17 prefs_.reset(new base::DictionaryValue()); |
| 18 std::string appId = extension_misc::kInAppPaymentsSupportAppId; |
| 19 prefs_->SetString(appId + ".external_update_url", |
| 20 extension_urls::GetWebstoreUpdateUrl().spec()); |
| 21 LoadFinished(); |
| 22 } |
| 23 |
| 24 } // namespace extensions |
OLD | NEW |