| Index: chrome/browser/password_manager/keyring_proxy/keyring_proxy_main.cc
|
| ===================================================================
|
| --- chrome/browser/password_manager/keyring_proxy/keyring_proxy_main.cc (revision 0)
|
| +++ chrome/browser/password_manager/keyring_proxy/keyring_proxy_main.cc (revision 0)
|
| @@ -0,0 +1,26 @@
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include <glib-object.h>
|
| +#include <stdio.h>
|
| +#include <string.h>
|
| +
|
| +#include "chrome/browser/password_manager/keyring_proxy/keyring_proxy.h"
|
| +
|
| +int main(int argc, char* argv[]) {
|
| + g_type_init();
|
| +
|
| + char* slash = strrchr(argv[0], '/');
|
| + if (slash)
|
| + g_set_application_name(&slash[1]);
|
| + else
|
| + g_set_application_name(argv[0]);
|
| +
|
| + keyring_proxy::KeyringProxy proxy(STDIN_FILENO, stdout);
|
| + if (!proxy.Init())
|
| + return 1;
|
| + proxy.Run();
|
| +
|
| + return 0;
|
| +}
|
|
|
| Property changes on: chrome/browser/password_manager/keyring_proxy/keyring_proxy_main.cc
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|