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

Unified Diff: chrome/browser/guest_view/web_view/context_menu_content_type_web_view.cc

Issue 1269773002: Cleanup VersionInfo after componentization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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: chrome/browser/guest_view/web_view/context_menu_content_type_web_view.cc
diff --git a/chrome/browser/guest_view/web_view/context_menu_content_type_web_view.cc b/chrome/browser/guest_view/web_view/context_menu_content_type_web_view.cc
index cf4a4e38d3a8a54378555f6c952ee9f5235e25ef..9496a9b1cbc501a2beff0a8d5270aa878f2f9378 100644
--- a/chrome/browser/guest_view/web_view/context_menu_content_type_web_view.cc
+++ b/chrome/browser/guest_view/web_view/context_menu_content_type_web_view.cc
@@ -5,8 +5,9 @@
#include "chrome/browser/guest_view/web_view/context_menu_content_type_web_view.h"
#include "base/command_line.h"
+#include "chrome/common/channel_info.h"
#include "chrome/common/chrome_switches.h"
-#include "chrome/common/chrome_version_info.h"
+#include "components/version_info/version_info.h"
#include "extensions/browser/guest_view/web_view/web_view_guest.h"
#include "extensions/browser/process_manager.h"
#include "extensions/common/extension.h"
@@ -47,8 +48,7 @@ bool ContextMenuContentTypeWebView::SupportsGroup(int group) {
return true;
case ITEM_GROUP_DEVELOPER:
{
- if (chrome::VersionInfo::GetChannel() >=
- version_info::Channel::DEV) {
+ if (chrome::GetChannel() >= version_info::Channel::DEV) {
// Hide dev tools items in guests inside WebUI if we are not running
// canary or tott.
auto web_view_guest =

Powered by Google App Engine
This is Rietveld 408576698