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

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

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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
« no previous file with comments | « chrome/browser/printing/print_job.h ('k') | chrome/browser/printing/print_job_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_JOB_MANAGER_H_ 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_JOB_MANAGER_H_
6 #define CHROME_BROWSER_PRINTING_PRINT_JOB_MANAGER_H_ 6 #define CHROME_BROWSER_PRINTING_PRINT_JOB_MANAGER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 public: 59 public:
60 PrintJobManager(); 60 PrintJobManager();
61 virtual ~PrintJobManager(); 61 virtual ~PrintJobManager();
62 62
63 // On browser quit, we should wait to have the print job finished. 63 // On browser quit, we should wait to have the print job finished.
64 void Shutdown(); 64 void Shutdown();
65 65
66 // content::NotificationObserver 66 // content::NotificationObserver
67 virtual void Observe(int type, 67 virtual void Observe(int type,
68 const content::NotificationSource& source, 68 const content::NotificationSource& source,
69 const content::NotificationDetails& details) OVERRIDE; 69 const content::NotificationDetails& details) override;
70 70
71 // Returns queries queue. Never returns NULL. Must be called on Browser UI 71 // Returns queries queue. Never returns NULL. Must be called on Browser UI
72 // Thread. Reference could be stored and used from any thread. 72 // Thread. Reference could be stored and used from any thread.
73 scoped_refptr<PrintQueriesQueue> queue(); 73 scoped_refptr<PrintQueriesQueue> queue();
74 74
75 private: 75 private:
76 typedef std::set<scoped_refptr<PrintJob> > PrintJobs; 76 typedef std::set<scoped_refptr<PrintJob> > PrintJobs;
77 77
78 // Processes a NOTIFY_PRINT_JOB_EVENT notification. 78 // Processes a NOTIFY_PRINT_JOB_EVENT notification.
79 void OnPrintJobEvent(PrintJob* print_job, 79 void OnPrintJobEvent(PrintJob* print_job,
(...skipping 11 matching lines...) Expand all
91 scoped_refptr<PrintQueriesQueue> queue_; 91 scoped_refptr<PrintQueriesQueue> queue_;
92 92
93 bool is_shutdown_; 93 bool is_shutdown_;
94 94
95 DISALLOW_COPY_AND_ASSIGN(PrintJobManager); 95 DISALLOW_COPY_AND_ASSIGN(PrintJobManager);
96 }; 96 };
97 97
98 } // namespace printing 98 } // namespace printing
99 99
100 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_MANAGER_H_ 100 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_job.h ('k') | chrome/browser/printing/print_job_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698