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

Side by Side Diff: chrome/browser/printing/cloud_print/cloud_print_setup_handler.h

Issue 10700155: Remove #pragma once from chrome/browser/{printing,safe_browsing,prefs,bookmarks,autocomplete} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_CLOUD_PRINT_CLOUD_PRINT_SETUP_HANDLER_H_ 5 #ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_HANDLER_H_
6 #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_HANDLER_H_ 6 #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_HANDLER_H_
7 #pragma once
8 7
9 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/printing/cloud_print/cloud_print_setup_flow.h" 9 #include "chrome/browser/printing/cloud_print/cloud_print_setup_flow.h"
11 10
12 // Cloud Print setup handler. 11 // Cloud Print setup handler.
13 // Provides a weak pointer adapter so that callers of 12 // Provides a weak pointer adapter so that callers of
14 // CloudPrintSetupFlow::OpenDialog can still be notified when the dialog 13 // CloudPrintSetupFlow::OpenDialog can still be notified when the dialog
15 // completes, but don't have to stick around until the end. Lifetime should be 14 // completes, but don't have to stick around until the end. Lifetime should be
16 // shorter than that of its owner. 15 // shorter than that of its owner.
17 class CloudPrintSetupHandler 16 class CloudPrintSetupHandler
(...skipping 16 matching lines...) Expand all
34 private: 33 private:
35 Delegate* handler_; 34 Delegate* handler_;
36 35
37 DISALLOW_COPY_AND_ASSIGN(CloudPrintSetupHandler); 36 DISALLOW_COPY_AND_ASSIGN(CloudPrintSetupHandler);
38 }; 37 };
39 38
40 // Workaround for MSVC 2005 not handling inheritance from nested classes well. 39 // Workaround for MSVC 2005 not handling inheritance from nested classes well.
41 typedef CloudPrintSetupHandler::Delegate CloudPrintSetupHandlerDelegate; 40 typedef CloudPrintSetupHandler::Delegate CloudPrintSetupHandlerDelegate;
42 41
43 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_HANDLER_H_ 42 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/cloud_print/cloud_print_proxy_service.h ('k') | chrome/browser/printing/cloud_print/cloud_print_url.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698