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

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

Issue 286143010: Remove knowledge of nacl from content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_RESOURCE_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_TASK_MANAGER_RESOURCE_PROVIDER_H_
6 #define CHROME_BROWSER_TASK_MANAGER_RESOURCE_PROVIDER_H_ 6 #define CHROME_BROWSER_TASK_MANAGER_RESOURCE_PROVIDER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/process/process_handle.h" 10 #include "base/process/process_handle.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual bool ReportsFPS() const; 70 virtual bool ReportsFPS() const;
71 virtual float GetFPS() const; 71 virtual float GetFPS() const;
72 72
73 virtual bool ReportsSqliteMemoryUsed() const; 73 virtual bool ReportsSqliteMemoryUsed() const;
74 virtual size_t SqliteMemoryUsedBytes() const; 74 virtual size_t SqliteMemoryUsedBytes() const;
75 75
76 virtual bool ReportsV8MemoryStats() const; 76 virtual bool ReportsV8MemoryStats() const;
77 virtual size_t GetV8MemoryAllocated() const; 77 virtual size_t GetV8MemoryAllocated() const;
78 virtual size_t GetV8MemoryUsed() const; 78 virtual size_t GetV8MemoryUsed() const;
79 79
80 virtual int GetNaClDebugStubPort() const;
81
82 // Returns true if this resource can be inspected using developer tools. 80 // Returns true if this resource can be inspected using developer tools.
83 virtual bool CanInspect() const; 81 virtual bool CanInspect() const;
84 82
85 // Invokes or reveals developer tools window for this resource. 83 // Invokes or reveals developer tools window for this resource.
86 virtual void Inspect() const {} 84 virtual void Inspect() const {}
87 85
88 // A helper function for ActivateProcess when selected resource refers 86 // A helper function for ActivateProcess when selected resource refers
89 // to a Tab or other window containing web contents. Returns NULL by 87 // to a Tab or other window containing web contents. Returns NULL by
90 // default because not all resources have an associated web contents. 88 // default because not all resources have an associated web contents.
91 virtual content::WebContents* GetWebContents() const; 89 virtual content::WebContents* GetWebContents() const;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 151
154 protected: 152 protected:
155 friend class base::RefCountedThreadSafe<ResourceProvider>; 153 friend class base::RefCountedThreadSafe<ResourceProvider>;
156 154
157 virtual ~ResourceProvider() {} 155 virtual ~ResourceProvider() {}
158 }; 156 };
159 157
160 } // namespace task_manager 158 } // namespace task_manager
161 159
162 #endif // CHROME_BROWSER_TASK_MANAGER_RESOURCE_PROVIDER_H_ 160 #endif // CHROME_BROWSER_TASK_MANAGER_RESOURCE_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/task_manager/child_process_resource_provider.cc ('k') | chrome/browser/task_manager/resource_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698