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

Side by Side Diff: chrome/browser/extensions/extension_info_private_api_chromeos.cc

Issue 8619007: Revert "Move a bunch of ChromeOS APIs out of chrome/browser/extensions." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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) 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/extensions/get_chromeos_info_extension_api.h" 5 #include "chrome/browser/extensions/extension_info_private_api_chromeos.h"
6 6
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "chrome/browser/chromeos/cros/cros_library.h" 8 #include "chrome/browser/chromeos/cros/cros_library.h"
9 #include "chrome/browser/chromeos/cros/network_library.h" 9 #include "chrome/browser/chromeos/cros/network_library.h"
10 #include "chrome/browser/chromeos/login/wizard_controller.h" 10 #include "chrome/browser/chromeos/login/wizard_controller.h"
11 #include "chrome/browser/chromeos/system/statistics_provider.h" 11 #include "chrome/browser/chromeos/system/statistics_provider.h"
12 12
13 using chromeos::CrosLibrary; 13 using chromeos::CrosLibrary;
14 using chromeos::NetworkLibrary; 14 using chromeos::NetworkLibrary;
15 15
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 NetworkLibrary* netlib = CrosLibrary::Get()->GetNetworkLibrary(); 62 NetworkLibrary* netlib = CrosLibrary::Get()->GetNetworkLibrary();
63 (*value) = netlib->GetCellularHomeCarrierId(); 63 (*value) = netlib->GetCellularHomeCarrierId();
64 } else if (property_name == kPropertyInitialLocale) { 64 } else if (property_name == kPropertyInitialLocale) {
65 *value = chromeos::WizardController::GetInitialLocale(); 65 *value = chromeos::WizardController::GetInitialLocale();
66 } else { 66 } else {
67 LOG(ERROR) << "Unknown property request: " << property_name; 67 LOG(ERROR) << "Unknown property request: " << property_name;
68 return false; 68 return false;
69 } 69 }
70 return true; 70 return true;
71 } 71 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698