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

Side by Side Diff: chrome/browser/metrics/thread_watcher.h

Issue 10386221: Cleanup: Remove unneeded scoped_ptr.h includes from chrome/browser. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « chrome/browser/managed_mode.h ('k') | chrome/browser/mock_browsing_data_indexed_db_helper.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) 2012 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 // This file defines a WatchDog thread that monitors the responsiveness of other 5 // This file defines a WatchDog thread that monitors the responsiveness of other
6 // browser threads like UI, IO, DB, FILE and CACHED threads. It also defines 6 // browser threads like UI, IO, DB, FILE and CACHED threads. It also defines
7 // ThreadWatcher class which performs health check on threads that would like to 7 // ThreadWatcher class which performs health check on threads that would like to
8 // be watched. This file also defines ThreadWatcherList class that has list of 8 // be watched. This file also defines ThreadWatcherList class that has list of
9 // all active ThreadWatcher objects. 9 // all active ThreadWatcher objects.
10 // 10 //
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 #include <map> 45 #include <map>
46 #include <set> 46 #include <set>
47 #include <string> 47 #include <string>
48 #include <vector> 48 #include <vector>
49 49
50 #include "base/basictypes.h" 50 #include "base/basictypes.h"
51 #include "base/command_line.h" 51 #include "base/command_line.h"
52 #include "base/gtest_prod_util.h" 52 #include "base/gtest_prod_util.h"
53 #include "base/memory/ref_counted.h" 53 #include "base/memory/ref_counted.h"
54 #include "base/memory/scoped_ptr.h"
55 #include "base/memory/weak_ptr.h" 54 #include "base/memory/weak_ptr.h"
56 #include "base/message_loop.h" 55 #include "base/message_loop.h"
57 #include "base/metrics/histogram.h" 56 #include "base/metrics/histogram.h"
58 #include "base/synchronization/lock.h" 57 #include "base/synchronization/lock.h"
59 #include "base/threading/platform_thread.h" 58 #include "base/threading/platform_thread.h"
60 #include "base/threading/thread.h" 59 #include "base/threading/thread.h"
61 #include "base/threading/watchdog.h" 60 #include "base/threading/watchdog.h"
62 #include "base/time.h" 61 #include "base/time.h"
63 #include "content/public/browser/browser_thread.h" 62 #include "content/public/browser/browser_thread.h"
64 #include "content/public/browser/notification_observer.h" 63 #include "content/public/browser/notification_observer.h"
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 // shutdown_watchdog_ watches for hangs during shutdown. 546 // shutdown_watchdog_ watches for hangs during shutdown.
548 base::Watchdog* shutdown_watchdog_; 547 base::Watchdog* shutdown_watchdog_;
549 548
550 // The |thread_id_| on which this object is constructed. 549 // The |thread_id_| on which this object is constructed.
551 const base::PlatformThreadId thread_id_; 550 const base::PlatformThreadId thread_id_;
552 551
553 DISALLOW_COPY_AND_ASSIGN(ShutdownWatcherHelper); 552 DISALLOW_COPY_AND_ASSIGN(ShutdownWatcherHelper);
554 }; 553 };
555 554
556 #endif // CHROME_BROWSER_METRICS_THREAD_WATCHER_H_ 555 #endif // CHROME_BROWSER_METRICS_THREAD_WATCHER_H_
OLDNEW
« no previous file with comments | « chrome/browser/managed_mode.h ('k') | chrome/browser/mock_browsing_data_indexed_db_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698