Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(707)

Side by Side Diff: chrome/browser/printing/print_dialog_cloud.h

Issue 18199003: Allow Chrome OS login profile to have different default pref values (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_ 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_
6 #define CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_ 6 #define CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 11 matching lines...) Expand all
22 namespace content { 22 namespace content {
23 class BrowserContext; 23 class BrowserContext;
24 } 24 }
25 25
26 namespace user_prefs { 26 namespace user_prefs {
27 class PrefRegistrySyncable; 27 class PrefRegistrySyncable;
28 } 28 }
29 29
30 namespace print_dialog_cloud { 30 namespace print_dialog_cloud {
31 31
32 void RegisterUserPrefs(user_prefs::PrefRegistrySyncable* registry); 32 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
33 33
34 // Creates a print dialog to print a file on disk. 34 // Creates a print dialog to print a file on disk.
35 // Called on the FILE or UI thread. Even though this may start up a modal 35 // Called on the FILE or UI thread. Even though this may start up a modal
36 // dialog, it will return immediately. The dialog is handled asynchronously. 36 // dialog, it will return immediately. The dialog is handled asynchronously.
37 // If non-NULL, |modal_parent| specifies a window that the print dialog is modal 37 // If non-NULL, |modal_parent| specifies a window that the print dialog is modal
38 // to. 38 // to.
39 void CreatePrintDialogForFile(content::BrowserContext* browser_context, 39 void CreatePrintDialogForFile(content::BrowserContext* browser_context,
40 gfx::NativeWindow modal_parent, 40 gfx::NativeWindow modal_parent,
41 const base::FilePath& path_to_file, 41 const base::FilePath& path_to_file,
42 const string16& print_job_title, 42 const string16& print_job_title,
(...skipping 23 matching lines...) Expand all
66 // dialog, it will return immediately. The dialog is handled asynchronously. 66 // dialog, it will return immediately. The dialog is handled asynchronously.
67 // If non-NULL, |modal_parent| specifies a window that the print dialog is modal 67 // If non-NULL, |modal_parent| specifies a window that the print dialog is modal
68 // to. 68 // to.
69 void CreateCloudPrintSigninDialog(content::BrowserContext* browser_context, 69 void CreateCloudPrintSigninDialog(content::BrowserContext* browser_context,
70 gfx::NativeWindow modal_parent, 70 gfx::NativeWindow modal_parent,
71 const base::Closure& callback); 71 const base::Closure& callback);
72 72
73 } // end namespace 73 } // end namespace
74 74
75 #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_ 75 #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/cloud_print/cloud_print_url.cc ('k') | chrome/browser/printing/print_dialog_cloud.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698