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_RENDERER_CHROME_RENDER_PROCESS_OBSERVER_H_ | 5 #ifndef CHROME_RENDERER_CHROME_RENDER_PROCESS_OBSERVER_H_ |
6 #define CHROME_RENDERER_CHROME_RENDER_PROCESS_OBSERVER_H_ | 6 #define CHROME_RENDERER_CHROME_RENDER_PROCESS_OBSERVER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
14 #include "base/metrics/field_trial.h" | 15 #include "base/metrics/field_trial.h" |
15 #include "components/content_settings/core/common/content_settings.h" | 16 #include "components/content_settings/core/common/content_settings.h" |
16 #include "content/public/renderer/render_process_observer.h" | 17 #include "content/public/renderer/render_process_observer.h" |
17 | 18 |
18 class GURL; | 19 class GURL; |
19 struct ContentSettings; | 20 struct ContentSettings; |
20 | 21 |
21 namespace content { | 22 namespace content { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 RendererContentSettingRules content_setting_rules_; | 64 RendererContentSettingRules content_setting_rules_; |
64 | 65 |
65 bool webkit_initialized_; | 66 bool webkit_initialized_; |
66 | 67 |
67 base::WeakPtrFactory<ChromeRenderProcessObserver> weak_factory_; | 68 base::WeakPtrFactory<ChromeRenderProcessObserver> weak_factory_; |
68 | 69 |
69 DISALLOW_COPY_AND_ASSIGN(ChromeRenderProcessObserver); | 70 DISALLOW_COPY_AND_ASSIGN(ChromeRenderProcessObserver); |
70 }; | 71 }; |
71 | 72 |
72 #endif // CHROME_RENDERER_CHROME_RENDER_PROCESS_OBSERVER_H_ | 73 #endif // CHROME_RENDERER_CHROME_RENDER_PROCESS_OBSERVER_H_ |
OLD | NEW |