Index: chrome/browser/ui/extensions/web_auth_flow_window.cc |
=================================================================== |
--- chrome/browser/ui/extensions/web_auth_flow_window.cc (revision 0) |
+++ chrome/browser/ui/extensions/web_auth_flow_window.cc (revision 0) |
@@ -0,0 +1,42 @@ |
+// Copyright (c) 2012 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/ui/extensions/web_auth_flow_window.h" |
+ |
+#include "content/public/browser/browser_context.h" |
+ |
+using content::BrowserContext; |
+using content::WebContents; |
+ |
+WebAuthFlowWindow* WebAuthFlowWindow::Create( |
Mihai Parparita -not on Chrome
2012/05/14 20:59:39
If all this does is call WebAuthFlowWindow::Create
Munjal (Google)
2012/05/15 00:55:20
Done.
Yeah, thought about it when I did this but
|
+ Delegate* delegate, |
+ BrowserContext* browser_context, |
+ WebContents* contents) { |
+ // This object will delete itself when the window is closed. |
+ return WebAuthFlowWindow::CreateWebAuthFlowWindow( |
+ delegate, browser_context, contents); |
+} |
+ |
+WebAuthFlowWindow::WebAuthFlowWindow( |
+ Delegate* delegate, |
+ BrowserContext* browser_context, |
+ WebContents* contents) |
+ : delegate_(delegate), |
+ browser_context_(browser_context), |
+ contents_(contents) { |
+} |
+ |
+WebAuthFlowWindow::~WebAuthFlowWindow() { |
+} |
+ |
+// TODO(munjal): Remove this once we have mac/linux implementations. |
+#ifndef TOOLKIT_VIEWS |
+// static |
+WebAuthFlowWindow* WebAuthFlowWindow::CreateWebAuthFlowWindow( |
+ Delegate* delegate, |
+ BrowserContext* browser_context, |
+ WebContents* contents) { |
+ return NULL; |
+} |
+#endif |