blob: 5be0ba1114547809144a050f5c2df5e72aa463fa [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.
#include <string>
#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