| 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/browser/chromeos/status/data_promo_notification.h" | 5 #include "chrome/browser/chromeos/status/data_promo_notification.h" |
| 6 | 6 |
| 7 #include "ash/common/system/system_notifier.h" | |
| 8 #include "ash/resources/grit/ash_resources.h" | 7 #include "ash/resources/grit/ash_resources.h" |
| 8 #include "ash/system/system_notifier.h" |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| 11 #include "chrome/browser/browser_process.h" | 11 #include "chrome/browser/browser_process.h" |
| 12 #include "chrome/browser/chromeos/login/helper.h" | 12 #include "chrome/browser/chromeos/login/helper.h" |
| 13 #include "chrome/browser/chromeos/mobile_config.h" | 13 #include "chrome/browser/chromeos/mobile_config.h" |
| 14 #include "chrome/browser/chromeos/net/network_state_notifier.h" | 14 #include "chrome/browser/chromeos/net/network_state_notifier.h" |
| 15 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
| 16 #include "chrome/browser/profiles/profile_manager.h" | 16 #include "chrome/browser/profiles/profile_manager.h" |
| 17 #include "chrome/browser/ui/ash/system_tray_client.h" | 17 #include "chrome/browser/ui/ash/system_tray_client.h" |
| 18 #include "chrome/browser/ui/browser.h" | 18 #include "chrome/browser/ui/browser.h" |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 SetDataSaverPromptsShown(0); // demo mode resets times shown counts. | 315 SetDataSaverPromptsShown(0); // demo mode resets times shown counts. |
| 316 SetShow3gPromoNotification(true); | 316 SetShow3gPromoNotification(true); |
| 317 } else { | 317 } else { |
| 318 SetDataSaverPromptsShown(times_shown + 1); | 318 SetDataSaverPromptsShown(times_shown + 1); |
| 319 } | 319 } |
| 320 | 320 |
| 321 return true; | 321 return true; |
| 322 } | 322 } |
| 323 | 323 |
| 324 } // namespace chromeos | 324 } // namespace chromeos |
| OLD | NEW |