OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/stl_util-inl.h" | 8 #include "base/stl_util.h" |
9 #include "base/string_number_conversions.h" | 9 #include "base/string_number_conversions.h" |
10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
11 #include "chrome/browser/chromeos/cros/cros_library.h" | 11 #include "chrome/browser/chromeos/cros/cros_library.h" |
12 #include "chrome/browser/chromeos/cros/network_library.h" | 12 #include "chrome/browser/chromeos/cros/network_library.h" |
13 #include "chrome/browser/chromeos/notifications/balloon_view_host.h" | 13 #include "chrome/browser/chromeos/notifications/balloon_view_host.h" |
14 #include "chrome/browser/prefs/pref_service.h" | 14 #include "chrome/browser/prefs/pref_service.h" |
15 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
16 #include "chrome/browser/ui/browser.h" | 16 #include "chrome/browser/ui/browser.h" |
17 #include "chrome/browser/ui/browser_list.h" | 17 #include "chrome/browser/ui/browser_list.h" |
18 #include "chrome/common/pref_names.h" | 18 #include "chrome/common/pref_names.h" |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 if (plan) { | 278 if (plan) { |
279 cellular_data_plan_unique_id_ = plan->GetUniqueIdentifier(); | 279 cellular_data_plan_unique_id_ = plan->GetUniqueIdentifier(); |
280 cellular_data_plan_type_ = plan->plan_type; | 280 cellular_data_plan_type_ = plan->plan_type; |
281 } else { | 281 } else { |
282 cellular_data_plan_unique_id_ = std::string(); | 282 cellular_data_plan_unique_id_ = std::string(); |
283 cellular_data_plan_type_ = CELLULAR_DATA_PLAN_UNKNOWN; | 283 cellular_data_plan_type_ = CELLULAR_DATA_PLAN_UNKNOWN; |
284 } | 284 } |
285 } | 285 } |
286 | 286 |
287 } // namespace chromeos | 287 } // namespace chromeos |
OLD | NEW |