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

Side by Side Diff: chrome/browser/printing/background_printing_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
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_BACKGROUND_PRINTING_MANAGER_H_ 5 #ifndef CHROME_BROWSER_PRINTING_BACKGROUND_PRINTING_MANAGER_H_
6 #define CHROME_BROWSER_PRINTING_BACKGROUND_PRINTING_MANAGER_H_ 6 #define CHROME_BROWSER_PRINTING_BACKGROUND_PRINTING_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 30 matching lines...) Expand all
41 // Returns true if |printing_contents_map_| contains |preview_dialog|. 41 // Returns true if |printing_contents_map_| contains |preview_dialog|.
42 bool HasPrintPreviewDialog(content::WebContents* preview_dialog); 42 bool HasPrintPreviewDialog(content::WebContents* preview_dialog);
43 43
44 // Let others see the list of background printing contents. 44 // Let others see the list of background printing contents.
45 std::set<content::WebContents*> CurrentContentSet(); 45 std::set<content::WebContents*> CurrentContentSet();
46 46
47 private: 47 private:
48 // content::NotificationObserver overrides: 48 // content::NotificationObserver overrides:
49 virtual void Observe(int type, 49 virtual void Observe(int type,
50 const content::NotificationSource& source, 50 const content::NotificationSource& source,
51 const content::NotificationDetails& details) OVERRIDE; 51 const content::NotificationDetails& details) override;
52 52
53 // Schedule deletion of |preview_contents|. 53 // Schedule deletion of |preview_contents|.
54 void DeletePreviewContents(content::WebContents* preview_contents); 54 void DeletePreviewContents(content::WebContents* preview_contents);
55 55
56 // A map from print preview WebContentses (managed by 56 // A map from print preview WebContentses (managed by
57 // BackgroundPrintingManager) to the Observers that observe them. 57 // BackgroundPrintingManager) to the Observers that observe them.
58 WebContentsObserverMap printing_contents_map_; 58 WebContentsObserverMap printing_contents_map_;
59 59
60 content::NotificationRegistrar registrar_; 60 content::NotificationRegistrar registrar_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(BackgroundPrintingManager); 62 DISALLOW_COPY_AND_ASSIGN(BackgroundPrintingManager);
63 }; 63 };
64 64
65 } // namespace printing 65 } // namespace printing
66 66
67 #endif // CHROME_BROWSER_PRINTING_BACKGROUND_PRINTING_MANAGER_H_ 67 #endif // CHROME_BROWSER_PRINTING_BACKGROUND_PRINTING_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_unittest.cc ('k') | chrome/browser/printing/background_printing_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698