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

Unified Diff: extensions/shell/browser/shell_runtime_api_delegate.cc

Issue 1055673002: [Extensions API] Remove inline enums (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: extensions/shell/browser/shell_runtime_api_delegate.cc
diff --git a/extensions/shell/browser/shell_runtime_api_delegate.cc b/extensions/shell/browser/shell_runtime_api_delegate.cc
index 3c63da7b438b4acaa6cb35d00411df6ae6e14698..c380912eca4ec9e4fed545b8feb41901e0911d61 100644
--- a/extensions/shell/browser/shell_runtime_api_delegate.cc
+++ b/extensions/shell/browser/shell_runtime_api_delegate.cc
@@ -46,9 +46,9 @@ void ShellRuntimeAPIDelegate::OpenURL(const GURL& uninstall_url) {
bool ShellRuntimeAPIDelegate::GetPlatformInfo(PlatformInfo* info) {
#if defined(OS_CHROMEOS)
- info->os = PlatformInfo::OS_CROS_;
+ info->os = core_api::runtime::PLATFORM_INFO_OS_CROS;
#elif defined(OS_LINUX)
- info->os = PlatformInfo::OS_LINUX_;
+ info->os = core_api::runtime::PLATFORM_INFO_OS_LINUX;
#endif
return true;
}

Powered by Google App Engine
This is Rietveld 408576698