summaryrefslogtreecommitdiffstats
path: root/chrome/browser/remoting/setup.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/remoting/setup.cc')
-rw-r--r--chrome/browser/remoting/setup.cc21
1 files changed, 21 insertions, 0 deletions
diff --git a/chrome/browser/remoting/setup.cc b/chrome/browser/remoting/setup.cc
new file mode 100644
index 0000000..e8e27c3
--- /dev/null
+++ b/chrome/browser/remoting/setup.cc
@@ -0,0 +1,21 @@
+// Copyright (c) 2010 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 "chrome/browser/remoting/setup.h"
+#include "chrome/browser/remoting/setup_flow.h"
+
+//#include "app/l10n_util.h"
+//#include "base/utf_string_conversions.h"
+#include "chrome/browser/google_service_auth_error.h"
+#include "chrome/browser/profile.h"
+
+typedef GoogleServiceAuthError AuthError;
+
+namespace remoting_setup {
+
+void OpenRemotingSetupDialog(Profile* profile) {
+ remoting_setup::SetupFlow::Run(profile->GetOriginalProfile());
+}
+
+} // namespace sync_ui_util