Cast: Stop logging kVideoFrameSentToEncoder and rename a couple events.
[chromium-blink-merge.git] / chrome / browser / task_manager / printing_information.h
blob9ba7a97e6f93d2e405d25df8a72834c3fe321263
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_TASK_MANAGER_PRINTING_INFORMATION_H_
6 #define CHROME_BROWSER_TASK_MANAGER_PRINTING_INFORMATION_H_
8 #include "base/basictypes.h"
9 #include "chrome/browser/task_manager/web_contents_information.h"
11 namespace task_manager {
13 #if defined(ENABLE_FULL_PRINTING)
14 class PrintingResource;
16 // WebContentsInformation for WebContentses that are created for print preview
17 // and background printing.
18 class PrintingInformation : public NotificationObservingWebContentsInformation {
19 public:
20 PrintingInformation();
21 virtual ~PrintingInformation();
23 virtual bool CheckOwnership(content::WebContents* web_contents) OVERRIDE;
24 virtual void GetAll(const NewWebContentsCallback& callback) OVERRIDE;
26 virtual scoped_ptr<RendererResource> MakeResource(
27 content::WebContents* web_contents) OVERRIDE;
29 private:
30 DISALLOW_COPY_AND_ASSIGN(PrintingInformation);
32 #endif // defined(ENABLE_FULL_PRINTING)
34 } // namespace task_manager
36 #endif // CHROME_BROWSER_TASK_MANAGER_PRINTING_INFORMATION_H_