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

Side by Side Diff: chrome/browser/renderer_host/chrome_render_message_filter.h

Issue 700953002: Send all field trials from the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@finch4
Patch Set: Responded to comments. Created 5 years, 11 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
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_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_
6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 #endif 115 #endif
116 void OnAllowIndexedDB(int render_frame_id, 116 void OnAllowIndexedDB(int render_frame_id,
117 const GURL& origin_url, 117 const GURL& origin_url,
118 const GURL& top_origin_url, 118 const GURL& top_origin_url,
119 const base::string16& name, 119 const base::string16& name,
120 bool* allowed); 120 bool* allowed);
121 #if defined(ENABLE_PLUGINS) 121 #if defined(ENABLE_PLUGINS)
122 void OnIsCrashReportingEnabled(bool* enabled); 122 void OnIsCrashReportingEnabled(bool* enabled);
123 #endif 123 #endif
124 124
125 // Called when a message is received from a renderer that a trial has been
126 // activated (ChromeViewHostMsg_FieldTrialActivated).
127 void OnFieldTrialActivated(const std::string& trial_name);
128
125 const int render_process_id_; 129 const int render_process_id_;
126 130
127 // The Profile associated with our renderer process. This should only be 131 // The Profile associated with our renderer process. This should only be
128 // accessed on the UI thread! 132 // accessed on the UI thread!
129 Profile* profile_; 133 Profile* profile_;
130 // The Predictor for the associated Profile. It is stored so that it can be 134 // The Predictor for the associated Profile. It is stored so that it can be
131 // used on the IO thread. 135 // used on the IO thread.
132 chrome_browser_net::Predictor* predictor_; 136 chrome_browser_net::Predictor* predictor_;
133 137
134 // Used to look up permissions at database creation time. 138 // Used to look up permissions at database creation time.
135 scoped_refptr<CookieSettings> cookie_settings_; 139 scoped_refptr<CookieSettings> cookie_settings_;
136 140
137 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter); 141 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter);
138 }; 142 };
139 143
140 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ 144 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « base/metrics/field_trial_unittest.cc ('k') | chrome/browser/renderer_host/chrome_render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698