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

Side by Side Diff: chrome/browser/chrome_browser_main_linux.cc

Issue 10824112: Move Chrome OS device settings stuff to chrome/browser/chromeos/settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 8 years, 4 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 | Annotate | Revision Log
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 #include "chrome/browser/chrome_browser_main_linux.h" 5 #include "chrome/browser/chrome_browser_main_linux.h"
6 6
7 #if !defined(OS_CHROMEOS) 7 #if !defined(OS_CHROMEOS)
8 #include "chrome/browser/media_gallery/media_device_notifications_linux.h" 8 #include "chrome/browser/media_gallery/media_device_notifications_linux.h"
9 #endif 9 #endif
10 10
11 #if defined(USE_LINUX_BREAKPAD) 11 #if defined(USE_LINUX_BREAKPAD)
12 #include <stdlib.h> 12 #include <stdlib.h>
13 13
14 #include "base/linux_util.h" 14 #include "base/linux_util.h"
15 #include "chrome/app/breakpad_linux.h" 15 #include "chrome/app/breakpad_linux.h"
16 #include "chrome/browser/prefs/pref_service.h" 16 #include "chrome/browser/prefs/pref_service.h"
17 #include "chrome/common/env_vars.h" 17 #include "chrome/common/env_vars.h"
18 #include "chrome/common/pref_names.h" 18 #include "chrome/common/pref_names.h"
19 #include "content/public/browser/browser_thread.h" 19 #include "content/public/browser/browser_thread.h"
20 20
21 #if defined(OS_CHROMEOS) 21 #if defined(OS_CHROMEOS)
22 #include "chrome/browser/chromeos/cros_settings.h" 22 #include "chrome/browser/chromeos/settings/cros_settings.h"
23 #include "chrome/browser/chromeos/cros_settings_names.h" 23 #include "chrome/browser/chromeos/settings/cros_settings_names.h"
24 #include "chrome/common/chrome_switches.h" 24 #include "chrome/common/chrome_switches.h"
25 #include "chrome/common/chrome_version_info.h" 25 #include "chrome/common/chrome_version_info.h"
26 #endif 26 #endif
27 27
28 #endif // defined(USE_LINUX_BREAKPAD) 28 #endif // defined(USE_LINUX_BREAKPAD)
29 29
30 namespace { 30 namespace {
31 31
32 #if defined(USE_LINUX_BREAKPAD) 32 #if defined(USE_LINUX_BREAKPAD)
33 void GetLinuxDistroCallback() { 33 void GetLinuxDistroCallback() {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 void ChromeBrowserMainPartsLinux::PostMainMessageLoopRun() { 102 void ChromeBrowserMainPartsLinux::PostMainMessageLoopRun() {
103 #if !defined(OS_CHROMEOS) 103 #if !defined(OS_CHROMEOS)
104 // Release it now. Otherwise the FILE thread would be gone when we try to 104 // Release it now. Otherwise the FILE thread would be gone when we try to
105 // release it in the dtor and Valgrind would report a leak on almost ever 105 // release it in the dtor and Valgrind would report a leak on almost ever
106 // single browser_test. 106 // single browser_test.
107 media_device_notifications_linux_ = NULL; 107 media_device_notifications_linux_ = NULL;
108 #endif 108 #endif
109 109
110 ChromeBrowserMainPartsPosix::PostMainMessageLoopRun(); 110 ChromeBrowserMainPartsPosix::PostMainMessageLoopRun();
111 } 111 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/chromeos/chrome_browser_main_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698