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

Side by Side Diff: chrome/renderer/chrome_render_thread_observer.h

Issue 2024683002: Remove debug instrumentation for crbug.com/359406. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update render_messages macro Created 4 years, 6 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
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/chrome_render_thread_observer.cc » ('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 #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
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/metrics/field_trial.h" 15 #include "base/metrics/field_trial.h"
16 #include "base/process/process.h"
17 #include "components/content_settings/core/common/content_settings.h" 16 #include "components/content_settings/core/common/content_settings.h"
18 #include "content/public/renderer/render_thread_observer.h" 17 #include "content/public/renderer/render_thread_observer.h"
19 18
20 class GURL; 19 class GURL;
21 struct ContentSettings; 20 struct ContentSettings;
22 21
23 namespace base { 22 namespace base {
24 class CommandLine; 23 class CommandLine;
25 } 24 }
26 25
(...skipping 28 matching lines...) Expand all
55 // base::FieldTrialList::Observer: 54 // base::FieldTrialList::Observer:
56 void OnFieldTrialGroupFinalized(const std::string& trial_name, 55 void OnFieldTrialGroupFinalized(const std::string& trial_name,
57 const std::string& group_name) override; 56 const std::string& group_name) override;
58 57
59 void OnSetIsIncognitoProcess(bool is_incognito_process); 58 void OnSetIsIncognitoProcess(bool is_incognito_process);
60 void OnSetContentSettingsForCurrentURL( 59 void OnSetContentSettingsForCurrentURL(
61 const GURL& url, const ContentSettings& content_settings); 60 const GURL& url, const ContentSettings& content_settings);
62 void OnSetContentSettingRules(const RendererContentSettingRules& rules); 61 void OnSetContentSettingRules(const RendererContentSettingRules& rules);
63 void OnGetCacheResourceStats(); 62 void OnGetCacheResourceStats();
64 void OnSetFieldTrialGroup(const std::string& fiel_trial_name, 63 void OnSetFieldTrialGroup(const std::string& fiel_trial_name,
65 const std::string& group_name, 64 const std::string& group_name);
66 base::ProcessId sender_pid,
67 int32_t debug_token);
68 65
69 static bool is_incognito_process_; 66 static bool is_incognito_process_;
70 std::unique_ptr<content::ResourceDispatcherDelegate> resource_delegate_; 67 std::unique_ptr<content::ResourceDispatcherDelegate> resource_delegate_;
71 RendererContentSettingRules content_setting_rules_; 68 RendererContentSettingRules content_setting_rules_;
72 69
73 base::WeakPtrFactory<ChromeRenderThreadObserver> weak_factory_; 70 base::WeakPtrFactory<ChromeRenderThreadObserver> weak_factory_;
74 71
75 DISALLOW_COPY_AND_ASSIGN(ChromeRenderThreadObserver); 72 DISALLOW_COPY_AND_ASSIGN(ChromeRenderThreadObserver);
76 }; 73 };
77 74
78 #endif // CHROME_RENDERER_CHROME_RENDER_THREAD_OBSERVER_H_ 75 #endif // CHROME_RENDERER_CHROME_RENDER_THREAD_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/chrome_render_thread_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698