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

Side by Side Diff: chrome/browser/password_manager/keyring_proxy/keyring_proxy_main.cc

Issue 8509038: Linux: split GNOME Keyring integration into a separate process. Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: merge Created 8 years, 11 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 <glib-object.h>
6 #include <stdio.h>
7 #include <string.h>
8
9 #include "chrome/browser/password_manager/keyring_proxy/keyring_proxy.h"
10
11 int main(int argc, char* argv[]) {
12 g_type_init();
13
14 char* slash = strrchr(argv[0], '/');
15 if (slash)
16 g_set_application_name(&slash[1]);
17 else
18 g_set_application_name(argv[0]);
19
20 keyring_proxy::KeyringProxy proxy(STDIN_FILENO, stdout);
21 if (!proxy.Init())
22 return 1;
23 proxy.Run();
24
25 return 0;
26 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698