OLD | NEW |
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 #ifndef CHROME_BROWSER_PROFILES_PROFILE_DESTROYER_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_DESTROYER_H_ |
6 #define CHROME_BROWSER_PROFILES_PROFILE_DESTROYER_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_DESTROYER_H_ |
7 #pragma once | |
8 | 7 |
9 #include <vector> | 8 #include <vector> |
10 | 9 |
11 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
12 #include "base/timer.h" | 11 #include "base/timer.h" |
13 #include "content/public/browser/notification_observer.h" | 12 #include "content/public/browser/notification_observer.h" |
14 #include "content/public/browser/notification_registrar.h" | 13 #include "content/public/browser/notification_registrar.h" |
15 | 14 |
16 class Profile; | 15 class Profile; |
17 namespace content { | 16 namespace content { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 58 |
60 // Used to count down the number of render process host left. | 59 // Used to count down the number of render process host left. |
61 uint32 num_hosts_; | 60 uint32 num_hosts_; |
62 | 61 |
63 Profile* profile_; | 62 Profile* profile_; |
64 | 63 |
65 DISALLOW_COPY_AND_ASSIGN(ProfileDestroyer); | 64 DISALLOW_COPY_AND_ASSIGN(ProfileDestroyer); |
66 }; | 65 }; |
67 | 66 |
68 #endif // CHROME_BROWSER_PROFILES_PROFILE_DESTROYER_H_ | 67 #endif // CHROME_BROWSER_PROFILES_PROFILE_DESTROYER_H_ |
OLD | NEW |