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

Unified Diff: components/web_view/frame_utils.cc

Issue 1677293002: Bye bye Mandoline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 10 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
« no previous file with comments | « components/web_view/frame_utils.h ('k') | components/web_view/local_find_options.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_view/frame_utils.cc
diff --git a/components/web_view/frame_utils.cc b/components/web_view/frame_utils.cc
deleted file mode 100644
index afc93477ff08c7db0fc6aa1a6ba42cb292b473c5..0000000000000000000000000000000000000000
--- a/components/web_view/frame_utils.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/web_view/frame_utils.h"
-
-#include "base/command_line.h"
-#include "components/web_view/web_view_switches.h"
-#include "mojo/shell/public/interfaces/shell.mojom.h"
-
-namespace web_view {
-namespace {
-
-bool AlwaysCreateNewFrameTree() {
- return base::CommandLine::ForCurrentProcess()->HasSwitch(
- web_view::switches::kOOPIFAlwaysCreateNewFrameTree);
-}
-
-} // namespace
-
-bool AreAppIdsEqual(uint32_t app_id1, uint32_t app_id2) {
- return app_id1 == app_id2 &&
- app_id1 != mojo::shell::mojom::Shell::kInvalidApplicationID &&
- !AlwaysCreateNewFrameTree();
-}
-
-} // namespace web_view
« no previous file with comments | « components/web_view/frame_utils.h ('k') | components/web_view/local_find_options.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698