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/upgrade_detector.cc

Issue 3037044: FBTF: Remove unneeded headers from base/ (part 3) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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.h" 5 #include "chrome/browser/upgrade_detector.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/file_version_info.h" 10 #include "base/file_version_info.h"
11 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
12 #include "base/time.h" 12 #include "base/time.h"
13 #include "base/task.h" 13 #include "base/task.h"
14 #include "base/string_util.h" 14 #include "base/string_util.h"
15 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
16 #include "base/version.h"
17 #include "chrome/browser/chrome_thread.h" 16 #include "chrome/browser/chrome_thread.h"
18 #include "chrome/browser/pref_service.h" 17 #include "chrome/browser/pref_service.h"
19 #include "chrome/common/chrome_switches.h" 18 #include "chrome/common/chrome_switches.h"
20 #include "chrome/common/chrome_version_info.h" 19 #include "chrome/common/chrome_version_info.h"
21 #include "chrome/common/notification_service.h" 20 #include "chrome/common/notification_service.h"
22 #include "chrome/common/notification_type.h" 21 #include "chrome/common/notification_type.h"
23 #include "chrome/common/pref_names.h" 22 #include "chrome/common/pref_names.h"
24 #include "chrome/installer/util/browser_distribution.h" 23 #include "chrome/installer/util/browser_distribution.h"
25 24
26 #if defined(OS_WIN) 25 #if defined(OS_WIN)
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 } 184 }
186 185
187 void UpgradeDetector::NotifyOnUpgrade() { 186 void UpgradeDetector::NotifyOnUpgrade() {
188 notify_upgrade_ = true; 187 notify_upgrade_ = true;
189 188
190 NotificationService::current()->Notify( 189 NotificationService::current()->Notify(
191 NotificationType::UPGRADE_RECOMMENDED, 190 NotificationType::UPGRADE_RECOMMENDED,
192 Source<UpgradeDetector>(this), 191 Source<UpgradeDetector>(this),
193 NotificationService::NoDetails()); 192 NotificationService::NoDetails());
194 } 193 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/theme_util.cc ('k') | chrome/browser/views/tab_contents/tab_contents_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698