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

Side by Side Diff: chrome/browser/extensions/external_component_loader.cc

Issue 15612002: Make sure the google wallet in-app payment support app is always installed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix clang compile error Created 7 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 | Annotate | Revision Log
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698