1 // Copyright (c) 2012 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.
5 #ifndef CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_
6 #define CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_
10 #include "base/basictypes.h"
11 #include "base/callback.h"
20 namespace print_dialog_cloud
{
22 // Creates a tab with Google 'sign in' or 'add account' page, based on
23 // passed |add_account| value.
24 // Calls |callback| when complete.
25 void CreateCloudPrintSigninTab(Browser
* browser
,
27 const base::Closure
& callback
);
29 // Parse switches from command_line and display the print dialog as appropriate.
30 bool CreatePrintDialogFromCommandLine(Profile
* profile
,
31 const base::CommandLine
& command_line
);
33 } // namespace print_dialog_cloud
35 #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_