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

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: Added test StatesStringFormat. Created 6 years, 1 month 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 #endif 111 #endif
112 void OnAllowIndexedDB(int render_frame_id, 112 void OnAllowIndexedDB(int render_frame_id,
113 const GURL& origin_url, 113 const GURL& origin_url,
114 const GURL& top_origin_url, 114 const GURL& top_origin_url,
115 const base::string16& name, 115 const base::string16& name,
116 bool* allowed); 116 bool* allowed);
117 #if defined(ENABLE_PLUGINS) 117 #if defined(ENABLE_PLUGINS)
118 void OnIsCrashReportingEnabled(bool* enabled); 118 void OnIsCrashReportingEnabled(bool* enabled);
119 #endif 119 #endif
120 120
121 // Called when a message is received from a renderer that a trial has been
122 // activated (ChromeViewHostMsg_FieldTrialActivated).
123 void OnFieldTrialActivated(const std::string& trial_name);
124
121 const int render_process_id_; 125 const int render_process_id_;
122 126
123 // The Profile associated with our renderer process. This should only be 127 // The Profile associated with our renderer process. This should only be
124 // accessed on the UI thread! 128 // accessed on the UI thread!
125 Profile* profile_; 129 Profile* profile_;
126 // The Predictor for the associated Profile. It is stored so that it can be 130 // The Predictor for the associated Profile. It is stored so that it can be
127 // used on the IO thread. 131 // used on the IO thread.
128 chrome_browser_net::Predictor* predictor_; 132 chrome_browser_net::Predictor* predictor_;
129 133
130 // Used to look up permissions at database creation time. 134 // Used to look up permissions at database creation time.
131 scoped_refptr<CookieSettings> cookie_settings_; 135 scoped_refptr<CookieSettings> cookie_settings_;
132 136
133 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter); 137 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter);
134 }; 138 };
135 139
136 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ 140 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698