Remove unused field from extension_sorting.cc
[chromium-blink-merge.git] / chrome / browser / extensions / external_component_loader.cc
blobbec5d2f9e99b90529eaa13f90df9723e127d6370
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());
21 LoadFinished();
24 } // namespace extensions