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.
5 #include "chrome/browser/extensions/external_component_loader.h"
7 #include "base/values.h"
8 #include "chrome/common/extensions/extension_constants.h"
10 namespace extensions
{
12 ExternalComponentLoader::ExternalComponentLoader() {}
14 ExternalComponentLoader::~ExternalComponentLoader() {}
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());
24 } // namespace extensions