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

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

Issue 10873097: Merge 153342 - Print preview: Use an ID instead of memory pointer string in WebUI. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1229/src/
Patch Set: Created 8 years, 3 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_PRINTING_MESSAGE_FILTER_H_ 5 #ifndef CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_
6 #define CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_ 6 #define CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // handled by the print worker thread and the UI thread. The reply occurs on 100 // handled by the print worker thread and the UI thread. The reply occurs on
101 // the IO thread. 101 // the IO thread.
102 void OnUpdatePrintSettings(int document_cookie, 102 void OnUpdatePrintSettings(int document_cookie,
103 const base::DictionaryValue& job_settings, 103 const base::DictionaryValue& job_settings,
104 IPC::Message* reply_msg); 104 IPC::Message* reply_msg);
105 void OnUpdatePrintSettingsReply( 105 void OnUpdatePrintSettingsReply(
106 scoped_refptr<printing::PrinterQuery> printer_query, 106 scoped_refptr<printing::PrinterQuery> printer_query,
107 IPC::Message* reply_msg); 107 IPC::Message* reply_msg);
108 108
109 // Check to see if print preview has been cancelled. 109 // Check to see if print preview has been cancelled.
110 void OnCheckForCancel(const std::string& preview_ui_addr, 110 void OnCheckForCancel(int32 preview_ui_id,
111 int preview_request_id, 111 int preview_request_id,
112 bool* cancel); 112 bool* cancel);
113 113
114 printing::PrintJobManager* print_job_manager_; 114 printing::PrintJobManager* print_job_manager_;
115 115
116 ProfileIOData* profile_io_data_; 116 ProfileIOData* profile_io_data_;
117 117
118 int render_process_id_; 118 int render_process_id_;
119 119
120 DISALLOW_COPY_AND_ASSIGN(PrintingMessageFilter); 120 DISALLOW_COPY_AND_ASSIGN(PrintingMessageFilter);
121 }; 121 };
122 122
123 #endif // CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_ 123 #endif // CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_preview_data_service.cc ('k') | chrome/browser/printing/printing_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698