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

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

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (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 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_CHILD_PROCESS_RESOURCE_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_TASK_MANAGER_CHILD_PROCESS_RESOURCE_PROVIDER_H_
6 #define CHROME_BROWSER_TASK_MANAGER_CHILD_PROCESS_RESOURCE_PROVIDER_H_ 6 #define CHROME_BROWSER_TASK_MANAGER_CHILD_PROCESS_RESOURCE_PROVIDER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 13 matching lines...) Expand all
24 class ChildProcessResource; 24 class ChildProcessResource;
25 25
26 class ChildProcessResourceProvider 26 class ChildProcessResourceProvider
27 : public ResourceProvider, 27 : public ResourceProvider,
28 public content::BrowserChildProcessObserver { 28 public content::BrowserChildProcessObserver {
29 public: 29 public:
30 explicit ChildProcessResourceProvider(TaskManager* task_manager); 30 explicit ChildProcessResourceProvider(TaskManager* task_manager);
31 31
32 virtual Resource* GetResource(int origin_pid, 32 virtual Resource* GetResource(int origin_pid,
33 int child_id, 33 int child_id,
34 int route_id) OVERRIDE; 34 int route_id) override;
35 virtual void StartUpdating() OVERRIDE; 35 virtual void StartUpdating() override;
36 virtual void StopUpdating() OVERRIDE; 36 virtual void StopUpdating() override;
37 37
38 // content::BrowserChildProcessObserver methods: 38 // content::BrowserChildProcessObserver methods:
39 virtual void BrowserChildProcessHostConnected( 39 virtual void BrowserChildProcessHostConnected(
40 const content::ChildProcessData& data) OVERRIDE; 40 const content::ChildProcessData& data) override;
41 virtual void BrowserChildProcessHostDisconnected( 41 virtual void BrowserChildProcessHostDisconnected(
42 const content::ChildProcessData& data) OVERRIDE; 42 const content::ChildProcessData& data) override;
43 43
44 private: 44 private:
45 virtual ~ChildProcessResourceProvider(); 45 virtual ~ChildProcessResourceProvider();
46 46
47 // Retrieves information about the running ChildProcessHosts (performed in the 47 // Retrieves information about the running ChildProcessHosts (performed in the
48 // IO thread). 48 // IO thread).
49 virtual void RetrieveChildProcessData(); 49 virtual void RetrieveChildProcessData();
50 50
51 // Notifies the UI thread that the ChildProcessHosts information have been 51 // Notifies the UI thread that the ChildProcessHosts information have been
52 // retrieved. 52 // retrieved.
(...skipping 21 matching lines...) Expand all
74 74
75 // A scoped container for notification registries. 75 // A scoped container for notification registries.
76 content::NotificationRegistrar registrar_; 76 content::NotificationRegistrar registrar_;
77 77
78 DISALLOW_COPY_AND_ASSIGN(ChildProcessResourceProvider); 78 DISALLOW_COPY_AND_ASSIGN(ChildProcessResourceProvider);
79 }; 79 };
80 80
81 } // namespace task_manager 81 } // namespace task_manager
82 82
83 #endif // CHROME_BROWSER_TASK_MANAGER_CHILD_PROCESS_RESOURCE_PROVIDER_H_ 83 #endif // CHROME_BROWSER_TASK_MANAGER_CHILD_PROCESS_RESOURCE_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698