Wrap Sparkle's minimum interface with C++.

This commit is contained in:
Cheng Zhao 2013-06-02 20:23:04 +08:00
parent 312744b863
commit 08dbdd9718
6 changed files with 188 additions and 0 deletions

View file

@ -0,0 +1,16 @@
// Copyright (c) 2013 GitHub, Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "browser/auto_updater_delegate.h"
#include "base/callback.h"
namespace auto_updater {
void AutoUpdaterDelegate::WillInstallUpdate(const std::string& version,
const base::Closure& install) {
install.Run();
}
} // namespace auto_updater