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

Side by Side Diff: chrome/browser/task_manager/task_manager_resource_providers.h

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 8 years, 9 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) 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_TASK_MANAGER_TASK_MANAGER_RESOURCE_PROVIDERS_H_ 5 #ifndef CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_RESOURCE_PROVIDERS_H_
6 #define CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_RESOURCE_PROVIDERS_H_ 6 #define CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_RESOURCE_PROVIDERS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
11 11
(...skipping 20 matching lines...) Expand all
32 // functionality like stats tracking. 32 // functionality like stats tracking.
33 class TaskManagerRendererResource : public TaskManager::Resource { 33 class TaskManagerRendererResource : public TaskManager::Resource {
34 public: 34 public:
35 TaskManagerRendererResource(base::ProcessHandle process, 35 TaskManagerRendererResource(base::ProcessHandle process,
36 RenderViewHost* render_view_host); 36 RenderViewHost* render_view_host);
37 virtual ~TaskManagerRendererResource(); 37 virtual ~TaskManagerRendererResource();
38 38
39 // TaskManager::Resource methods: 39 // TaskManager::Resource methods:
40 virtual base::ProcessHandle GetProcess() const OVERRIDE; 40 virtual base::ProcessHandle GetProcess() const OVERRIDE;
41 virtual Type GetType() const OVERRIDE; 41 virtual Type GetType() const OVERRIDE;
42 virtual int GetRoutingId() const OVERRIDE; 42 virtual int GetRoutingID() const OVERRIDE;
43 43
44 virtual bool ReportsCacheStats() const OVERRIDE; 44 virtual bool ReportsCacheStats() const OVERRIDE;
45 virtual WebKit::WebCache::ResourceTypeStats GetWebCoreCacheStats() const 45 virtual WebKit::WebCache::ResourceTypeStats GetWebCoreCacheStats() const
46 OVERRIDE; 46 OVERRIDE;
47 virtual bool ReportsFPS() const OVERRIDE; 47 virtual bool ReportsFPS() const OVERRIDE;
48 virtual float GetFPS() const OVERRIDE; 48 virtual float GetFPS() const OVERRIDE;
49 virtual bool ReportsV8MemoryStats() const OVERRIDE; 49 virtual bool ReportsV8MemoryStats() const OVERRIDE;
50 virtual size_t GetV8MemoryAllocated() const OVERRIDE; 50 virtual size_t GetV8MemoryAllocated() const OVERRIDE;
51 virtual size_t GetV8MemoryUsed() const OVERRIDE; 51 virtual size_t GetV8MemoryUsed() const OVERRIDE;
52 52
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 private: 532 private:
533 virtual ~TaskManagerBrowserProcessResourceProvider(); 533 virtual ~TaskManagerBrowserProcessResourceProvider();
534 534
535 TaskManager* task_manager_; 535 TaskManager* task_manager_;
536 TaskManagerBrowserProcessResource resource_; 536 TaskManagerBrowserProcessResource resource_;
537 537
538 DISALLOW_COPY_AND_ASSIGN(TaskManagerBrowserProcessResourceProvider); 538 DISALLOW_COPY_AND_ASSIGN(TaskManagerBrowserProcessResourceProvider);
539 }; 539 };
540 540
541 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_RESOURCE_PROVIDERS_H_ 541 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_RESOURCE_PROVIDERS_H_
OLDNEW
« no previous file with comments | « chrome/browser/task_manager/task_manager.cc ('k') | chrome/browser/task_manager/task_manager_resource_providers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698