Update broken references to image assets
[chromium-blink-merge.git] / chrome / browser / printing / print_dialog_cloud.h
blob9ba434e2cff319faaf6d70b510593f106bef14f0
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_
8 #include <string>
10 #include "base/basictypes.h"
11 #include "base/callback.h"
13 class Browser;
14 class Profile;
16 namespace base {
17 class CommandLine;
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,
26 bool add_account,
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_