| OLD | NEW | 
|    1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2013 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/browser/chromeos/chrome_browser_main_chromeos.h" |    5 #include "chrome/browser/chromeos/chrome_browser_main_chromeos.h" | 
|    6  |    6  | 
|    7 #include <string> |    7 #include <string> | 
|    8 #include <vector> |    8 #include <vector> | 
|    9  |    9  | 
|   10 #include "ash/shell.h" |   10 #include "ash/shell.h" | 
|   11 #include "base/bind.h" |   11 #include "base/bind.h" | 
|   12 #include "base/callback.h" |   12 #include "base/callback.h" | 
|   13 #include "base/chromeos/chromeos_version.h" |   13 #include "base/chromeos/chromeos_version.h" | 
|   14 #include "base/command_line.h" |   14 #include "base/command_line.h" | 
|   15 #include "base/file_util.h" |   15 #include "base/file_util.h" | 
|   16 #include "base/lazy_instance.h" |   16 #include "base/lazy_instance.h" | 
|   17 #include "base/linux_util.h" |   17 #include "base/linux_util.h" | 
|   18 #include "base/message_loop.h" |   18 #include "base/message_loop.h" | 
|   19 #include "base/prefs/pref_service.h" |   19 #include "base/prefs/pref_service.h" | 
|   20 #include "base/string_split.h" |  | 
|   21 #include "base/strings/string_number_conversions.h" |   20 #include "base/strings/string_number_conversions.h" | 
 |   21 #include "base/strings/string_split.h" | 
|   22 #include "chrome/browser/browser_process.h" |   22 #include "chrome/browser/browser_process.h" | 
|   23 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" |   23 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" | 
|   24 #include "chrome/browser/chromeos/accessibility/magnification_manager.h" |   24 #include "chrome/browser/chromeos/accessibility/magnification_manager.h" | 
|   25 #include "chrome/browser/chromeos/audio/audio_handler.h" |   25 #include "chrome/browser/chromeos/audio/audio_handler.h" | 
|   26 #include "chrome/browser/chromeos/boot_times_loader.h" |   26 #include "chrome/browser/chromeos/boot_times_loader.h" | 
|   27 #include "chrome/browser/chromeos/contacts/contact_manager.h" |   27 #include "chrome/browser/chromeos/contacts/contact_manager.h" | 
|   28 #include "chrome/browser/chromeos/cros/cros_library.h" |   28 #include "chrome/browser/chromeos/cros/cros_library.h" | 
|   29 #include "chrome/browser/chromeos/dbus/cros_dbus_service.h" |   29 #include "chrome/browser/chromeos/dbus/cros_dbus_service.h" | 
|   30 #include "chrome/browser/chromeos/display/display_preferences.h" |   30 #include "chrome/browser/chromeos/display/display_preferences.h" | 
|   31 #include "chrome/browser/chromeos/display/primary_display_switch_observer.h" |   31 #include "chrome/browser/chromeos/display/primary_display_switch_observer.h" | 
| (...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  817   trial->AppendGroup("4GB_RAM_4GB_swap", zram_group == '4' ? 1 : 0); |  817   trial->AppendGroup("4GB_RAM_4GB_swap", zram_group == '4' ? 1 : 0); | 
|  818   trial->AppendGroup("4GB_RAM_6GB_swap", zram_group == '5' ? 1 : 0); |  818   trial->AppendGroup("4GB_RAM_6GB_swap", zram_group == '5' ? 1 : 0); | 
|  819   trial->AppendGroup("snow_no_swap", zram_group == '6' ? 1 : 0); |  819   trial->AppendGroup("snow_no_swap", zram_group == '6' ? 1 : 0); | 
|  820   trial->AppendGroup("snow_1GB_swap", zram_group == '7' ? 1 : 0); |  820   trial->AppendGroup("snow_1GB_swap", zram_group == '7' ? 1 : 0); | 
|  821   trial->AppendGroup("snow_2GB_swap", zram_group == '8' ? 1 : 0); |  821   trial->AppendGroup("snow_2GB_swap", zram_group == '8' ? 1 : 0); | 
|  822   // This is necessary to start the experiment as a side effect. |  822   // This is necessary to start the experiment as a side effect. | 
|  823   trial->group(); |  823   trial->group(); | 
|  824 } |  824 } | 
|  825  |  825  | 
|  826 }  //  namespace chromeos |  826 }  //  namespace chromeos | 
| OLD | NEW |