// 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. #ifndef CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_ #define CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_ #include #include "base/basictypes.h" #include "base/callback.h" class Browser; class Profile; namespace base { class CommandLine; } namespace print_dialog_cloud { // Creates a tab with Google 'sign in' or 'add account' page, based on // passed |add_account| value. // Calls |callback| when complete. void CreateCloudPrintSigninTab(Browser* browser, bool add_account, const base::Closure& callback); // Parse switches from command_line and display the print dialog as appropriate. bool CreatePrintDialogFromCommandLine(Profile* profile, const base::CommandLine& command_line); } // namespace print_dialog_cloud #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_