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

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

Issue 2921903003: Remove base::NonThreadSafe now that all users are gone!! (Closed)
Patch Set: rebase on r477274 Created 3 years, 6 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 | « base/threading/thread_checker_impl.h ('k') | chrome/test/base/in_process_browser_test.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 <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/synchronization/lock.h" 15 #include "base/synchronization/lock.h"
16 #include "base/threading/non_thread_safe.h"
17 #include "content/public/browser/notification_observer.h" 16 #include "content/public/browser/notification_observer.h"
18 #include "content/public/browser/notification_registrar.h" 17 #include "content/public/browser/notification_registrar.h"
19 18
20 namespace printing { 19 namespace printing {
21 20
22 class JobEventDetails; 21 class JobEventDetails;
23 class PrintJob; 22 class PrintJob;
24 class PrinterQuery; 23 class PrinterQuery;
25 24
26 class PrintQueriesQueue : public base::RefCountedThreadSafe<PrintQueriesQueue> { 25 class PrintQueriesQueue : public base::RefCountedThreadSafe<PrintQueriesQueue> {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 scoped_refptr<PrintQueriesQueue> queue_; 91 scoped_refptr<PrintQueriesQueue> queue_;
93 92
94 bool is_shutdown_; 93 bool is_shutdown_;
95 94
96 DISALLOW_COPY_AND_ASSIGN(PrintJobManager); 95 DISALLOW_COPY_AND_ASSIGN(PrintJobManager);
97 }; 96 };
98 97
99 } // namespace printing 98 } // namespace printing
100 99
101 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_MANAGER_H_ 100 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_MANAGER_H_
OLDNEW
« no previous file with comments | « base/threading/thread_checker_impl.h ('k') | chrome/test/base/in_process_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698