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

Side by Side Diff: chrome/browser/ui/webui/print_preview/print_preview_handler.h

Issue 509423002: Printing fixups for scoped_refptr operator T* removal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile error Created 6 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
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_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 base::string16* title) const; 249 base::string16* title) const;
250 250
251 #if defined(USE_CUPS) 251 #if defined(USE_CUPS)
252 void SaveCUPSColorSetting(const base::DictionaryValue* settings); 252 void SaveCUPSColorSetting(const base::DictionaryValue* settings);
253 253
254 void ConvertColorSettingToCUPSColorModel( 254 void ConvertColorSettingToCUPSColorModel(
255 base::DictionaryValue* settings) const; 255 base::DictionaryValue* settings) const;
256 #endif 256 #endif
257 257
258 #if defined(ENABLE_SERVICE_DISCOVERY) 258 #if defined(ENABLE_SERVICE_DISCOVERY)
259 void StartPrivetLister( 259 void StartPrivetLister(const scoped_refptr<
260 scoped_refptr<local_discovery::ServiceDiscoverySharedClient> client); 260 local_discovery::ServiceDiscoverySharedClient>& client);
261 void OnPrivetCapabilities(const base::DictionaryValue* capabilities); 261 void OnPrivetCapabilities(const base::DictionaryValue* capabilities);
262 void PrivetCapabilitiesUpdateClient( 262 void PrivetCapabilitiesUpdateClient(
263 scoped_ptr<local_discovery::PrivetHTTPClient> http_client); 263 scoped_ptr<local_discovery::PrivetHTTPClient> http_client);
264 void PrivetLocalPrintUpdateClient( 264 void PrivetLocalPrintUpdateClient(
265 std::string print_ticket, 265 std::string print_ticket,
266 std::string capabilities, 266 std::string capabilities,
267 gfx::Size page_size, 267 gfx::Size page_size,
268 scoped_ptr<local_discovery::PrivetHTTPClient> http_client); 268 scoped_ptr<local_discovery::PrivetHTTPClient> http_client);
269 bool PrivetUpdateClient( 269 bool PrivetUpdateClient(
270 scoped_ptr<local_discovery::PrivetHTTPClient> http_client); 270 scoped_ptr<local_discovery::PrivetHTTPClient> http_client);
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 base::WeakPtrFactory<PrintPreviewHandler> weak_factory_; 338 base::WeakPtrFactory<PrintPreviewHandler> weak_factory_;
339 339
340 // Notifies tests that want to know if the PDF has been saved. This doesn't 340 // Notifies tests that want to know if the PDF has been saved. This doesn't
341 // notify the test if it was a successful save, only that it was attempted. 341 // notify the test if it was a successful save, only that it was attempted.
342 base::Closure pdf_file_saved_closure_; 342 base::Closure pdf_file_saved_closure_;
343 343
344 DISALLOW_COPY_AND_ASSIGN(PrintPreviewHandler); 344 DISALLOW_COPY_AND_ASSIGN(PrintPreviewHandler);
345 }; 345 };
346 346
347 #endif // CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ 347 #endif // CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/printing_message_filter.cc ('k') | chrome/browser/ui/webui/print_preview/print_preview_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698