| 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 #include "chrome/renderer/chrome_render_process_observer.h" | 5 #include "chrome/renderer/chrome_render_process_observer.h" |
| 6 | 6 |
| 7 #include <limits> | 7 #include <limits> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/allocator/allocator_extension.h" | |
| 11 #include "base/bind.h" | 10 #include "base/bind.h" |
| 12 #include "base/command_line.h" | 11 #include "base/command_line.h" |
| 13 #include "base/files/file_util.h" | 12 #include "base/files/file_util.h" |
| 14 #include "base/location.h" | 13 #include "base/location.h" |
| 15 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 16 #include "base/metrics/field_trial.h" | 15 #include "base/metrics/field_trial.h" |
| 17 #include "base/metrics/histogram.h" | 16 #include "base/metrics/histogram.h" |
| 18 #include "base/metrics/statistics_recorder.h" | 17 #include "base/metrics/statistics_recorder.h" |
| 19 #include "base/path_service.h" | 18 #include "base/path_service.h" |
| 20 #include "base/single_thread_task_runner.h" | 19 #include "base/single_thread_task_runner.h" |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 ChromeRenderProcessObserver::content_setting_rules() const { | 329 ChromeRenderProcessObserver::content_setting_rules() const { |
| 331 return &content_setting_rules_; | 330 return &content_setting_rules_; |
| 332 } | 331 } |
| 333 | 332 |
| 334 void ChromeRenderProcessObserver::OnFieldTrialGroupFinalized( | 333 void ChromeRenderProcessObserver::OnFieldTrialGroupFinalized( |
| 335 const std::string& trial_name, | 334 const std::string& trial_name, |
| 336 const std::string& group_name) { | 335 const std::string& group_name) { |
| 337 content::RenderThread::Get()->Send( | 336 content::RenderThread::Get()->Send( |
| 338 new ChromeViewHostMsg_FieldTrialActivated(trial_name)); | 337 new ChromeViewHostMsg_FieldTrialActivated(trial_name)); |
| 339 } | 338 } |
| OLD | NEW |