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/network_message_observer.h" | 5 #include "chrome/browser/chromeos/network_message_observer.h" |
6 | 6 |
7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
8 #include "ash/shell_delegate.h" | 8 #include "ash/shell_delegate.h" |
9 #include "ash/system/network/network_observer.h" | 9 #include "ash/system/chromeos/network/network_observer.h" |
10 #include "ash/system/tray/system_tray.h" | 10 #include "ash/system/tray/system_tray.h" |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/stl_util.h" | 13 #include "base/stl_util.h" |
14 #include "base/string_number_conversions.h" | 14 #include "base/string_number_conversions.h" |
15 #include "base/utf_string_conversions.h" | 15 #include "base/utf_string_conversions.h" |
16 #include "chrome/browser/chromeos/cros/cros_library.h" | 16 #include "chrome/browser/chromeos/cros/cros_library.h" |
17 #include "chrome/browser/chromeos/cros/network_library.h" | 17 #include "chrome/browser/chromeos/cros/network_library.h" |
18 #include "chrome/browser/chromeos/notifications/balloon_view_host_chromeos.h" | 18 #include "chrome/browser/chromeos/notifications/balloon_view_host_chromeos.h" |
19 #include "chrome/browser/prefs/pref_service.h" | 19 #include "chrome/browser/prefs/pref_service.h" |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 if (plan) { | 359 if (plan) { |
360 cellular_data_plan_unique_id_ = plan->GetUniqueIdentifier(); | 360 cellular_data_plan_unique_id_ = plan->GetUniqueIdentifier(); |
361 cellular_data_plan_type_ = plan->plan_type; | 361 cellular_data_plan_type_ = plan->plan_type; |
362 } else { | 362 } else { |
363 cellular_data_plan_unique_id_ = std::string(); | 363 cellular_data_plan_unique_id_ = std::string(); |
364 cellular_data_plan_type_ = CELLULAR_DATA_PLAN_UNKNOWN; | 364 cellular_data_plan_type_ = CELLULAR_DATA_PLAN_UNKNOWN; |
365 } | 365 } |
366 } | 366 } |
367 | 367 |
368 } // namespace chromeos | 368 } // namespace chromeos |
OLD | NEW |