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

Side by Side Diff: base/process_util.h

Issue 8520018: Add OVERRIDE to base/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: extra header Created 9 years, 1 month 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
« no previous file with comments | « base/metrics/stats_counters.h ('k') | base/synchronization/waitable_event_watcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // This file/namespace contains utility functions for enumerating, ending and 5 // This file/namespace contains utility functions for enumerating, ending and
6 // computing statistics of processes. 6 // computing statistics of processes.
7 7
8 #ifndef BASE_PROCESS_UTIL_H_ 8 #ifndef BASE_PROCESS_UTIL_H_
9 #define BASE_PROCESS_UTIL_H_ 9 #define BASE_PROCESS_UTIL_H_
10 #pragma once 10 #pragma once
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 // on the current machine that were started from the given executable 546 // on the current machine that were started from the given executable
547 // name. To use, create an instance and then call NextProcessEntry() 547 // name. To use, create an instance and then call NextProcessEntry()
548 // until it returns false. 548 // until it returns false.
549 class BASE_EXPORT NamedProcessIterator : public ProcessIterator { 549 class BASE_EXPORT NamedProcessIterator : public ProcessIterator {
550 public: 550 public:
551 NamedProcessIterator(const FilePath::StringType& executable_name, 551 NamedProcessIterator(const FilePath::StringType& executable_name,
552 const ProcessFilter* filter); 552 const ProcessFilter* filter);
553 virtual ~NamedProcessIterator(); 553 virtual ~NamedProcessIterator();
554 554
555 protected: 555 protected:
556 virtual bool IncludeEntry(); 556 virtual bool IncludeEntry() OVERRIDE;
557 557
558 private: 558 private:
559 FilePath::StringType executable_name_; 559 FilePath::StringType executable_name_;
560 560
561 DISALLOW_COPY_AND_ASSIGN(NamedProcessIterator); 561 DISALLOW_COPY_AND_ASSIGN(NamedProcessIterator);
562 }; 562 };
563 563
564 // Working Set (resident) memory usage broken down by 564 // Working Set (resident) memory usage broken down by
565 // 565 //
566 // On Windows: 566 // On Windows:
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 // instance running inside the parent. The parent's Breakpad instance should 776 // instance running inside the parent. The parent's Breakpad instance should
777 // not handle the child's exceptions. Calling RestoreDefaultExceptionHandler 777 // not handle the child's exceptions. Calling RestoreDefaultExceptionHandler
778 // in the child after forking will restore the standard exception handler. 778 // in the child after forking will restore the standard exception handler.
779 // See http://crbug.com/20371/ for more details. 779 // See http://crbug.com/20371/ for more details.
780 void RestoreDefaultExceptionHandler(); 780 void RestoreDefaultExceptionHandler();
781 #endif // defined(OS_MACOSX) 781 #endif // defined(OS_MACOSX)
782 782
783 } // namespace base 783 } // namespace base
784 784
785 #endif // BASE_PROCESS_UTIL_H_ 785 #endif // BASE_PROCESS_UTIL_H_
OLDNEW
« no previous file with comments | « base/metrics/stats_counters.h ('k') | base/synchronization/waitable_event_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698