blob: 25de632815cd45dae9fd19785cf9fb9e6d99f625 [file] [log] [blame]
// 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 <string>
#include "base/callback_forward.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.
void CreateCloudPrintSigninTab(Browser* browser,
bool add_account,
base::OnceClosure 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_