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_THREAD_OBSERVER_H_ | 5 #ifndef CHROME_RENDERER_CHROME_RENDER_THREAD_OBSERVER_H_ |
6 #define CHROME_RENDERER_CHROME_RENDER_THREAD_OBSERVER_H_ | 6 #define CHROME_RENDERER_CHROME_RENDER_THREAD_OBSERVER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 void OnFieldTrialGroupFinalized(const std::string& trial_name, | 56 void OnFieldTrialGroupFinalized(const std::string& trial_name, |
57 const std::string& group_name) override; | 57 const std::string& group_name) override; |
58 | 58 |
59 void OnSetIsIncognitoProcess(bool is_incognito_process); | 59 void OnSetIsIncognitoProcess(bool is_incognito_process); |
60 void OnSetContentSettingsForCurrentURL( | 60 void OnSetContentSettingsForCurrentURL( |
61 const GURL& url, const ContentSettings& content_settings); | 61 const GURL& url, const ContentSettings& content_settings); |
62 void OnSetContentSettingRules(const RendererContentSettingRules& rules); | 62 void OnSetContentSettingRules(const RendererContentSettingRules& rules); |
63 void OnGetCacheResourceStats(); | 63 void OnGetCacheResourceStats(); |
64 void OnSetFieldTrialGroup(const std::string& fiel_trial_name, | 64 void OnSetFieldTrialGroup(const std::string& fiel_trial_name, |
65 const std::string& group_name, | 65 const std::string& group_name, |
66 base::ProcessId sender_pid); | 66 base::ProcessId sender_pid, |
| 67 int32_t debug_token); |
67 | 68 |
68 static bool is_incognito_process_; | 69 static bool is_incognito_process_; |
69 std::unique_ptr<content::ResourceDispatcherDelegate> resource_delegate_; | 70 std::unique_ptr<content::ResourceDispatcherDelegate> resource_delegate_; |
70 RendererContentSettingRules content_setting_rules_; | 71 RendererContentSettingRules content_setting_rules_; |
71 | 72 |
72 base::WeakPtrFactory<ChromeRenderThreadObserver> weak_factory_; | 73 base::WeakPtrFactory<ChromeRenderThreadObserver> weak_factory_; |
73 | 74 |
74 DISALLOW_COPY_AND_ASSIGN(ChromeRenderThreadObserver); | 75 DISALLOW_COPY_AND_ASSIGN(ChromeRenderThreadObserver); |
75 }; | 76 }; |
76 | 77 |
77 #endif // CHROME_RENDERER_CHROME_RENDER_THREAD_OBSERVER_H_ | 78 #endif // CHROME_RENDERER_CHROME_RENDER_THREAD_OBSERVER_H_ |
OLD | NEW |