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

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

Issue 19631004: Update include paths in chrome/browser/ for base/process changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge ToT Created 7 years, 5 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
« no previous file with comments | « chrome/browser/unload_browsertest.cc ('k') | chrome/browser/user_data_dir_extractor_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/upgrade_detector_impl.h" 5 #include "chrome/browser/upgrade_detector_impl.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/build_time.h" 10 #include "base/build_time.h"
(...skipping 16 matching lines...) Expand all
27 #include "ui/base/resource/resource_bundle.h" 27 #include "ui/base/resource/resource_bundle.h"
28 28
29 #if defined(OS_WIN) 29 #if defined(OS_WIN)
30 #include "chrome/installer/util/browser_distribution.h" 30 #include "chrome/installer/util/browser_distribution.h"
31 #include "chrome/installer/util/google_update_settings.h" 31 #include "chrome/installer/util/google_update_settings.h"
32 #include "chrome/installer/util/helper.h" 32 #include "chrome/installer/util/helper.h"
33 #include "chrome/installer/util/install_util.h" 33 #include "chrome/installer/util/install_util.h"
34 #elif defined(OS_MACOSX) 34 #elif defined(OS_MACOSX)
35 #include "chrome/browser/mac/keystone_glue.h" 35 #include "chrome/browser/mac/keystone_glue.h"
36 #elif defined(OS_POSIX) 36 #elif defined(OS_POSIX)
37 #include "base/process_util.h" 37 #include "base/process/launch.h"
38 #endif 38 #endif
39 39
40 using content::BrowserThread; 40 using content::BrowserThread;
41 41
42 namespace { 42 namespace {
43 43
44 // How long (in milliseconds) to wait (each cycle) before checking whether 44 // How long (in milliseconds) to wait (each cycle) before checking whether
45 // Chrome's been upgraded behind our back. 45 // Chrome's been upgraded behind our back.
46 const int kCheckForUpgradeMs = 2 * 60 * 60 * 1000; // 2 hours. 46 const int kCheckForUpgradeMs = 2 * 60 * 60 * 1000; // 2 hours.
47 47
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 432
433 // static 433 // static
434 UpgradeDetectorImpl* UpgradeDetectorImpl::GetInstance() { 434 UpgradeDetectorImpl* UpgradeDetectorImpl::GetInstance() {
435 return Singleton<UpgradeDetectorImpl>::get(); 435 return Singleton<UpgradeDetectorImpl>::get();
436 } 436 }
437 437
438 // static 438 // static
439 UpgradeDetector* UpgradeDetector::GetInstance() { 439 UpgradeDetector* UpgradeDetector::GetInstance() {
440 return UpgradeDetectorImpl::GetInstance(); 440 return UpgradeDetectorImpl::GetInstance();
441 } 441 }
OLDNEW
« no previous file with comments | « chrome/browser/unload_browsertest.cc ('k') | chrome/browser/user_data_dir_extractor_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698