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

Unified Diff: components/chooser_controller/chooser_controller.cc

Issue 2127883003: Move chooser_controller directory from //components to //chrome/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 4 years, 5 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: components/chooser_controller/chooser_controller.cc
diff --git a/components/chooser_controller/chooser_controller.cc b/components/chooser_controller/chooser_controller.cc
deleted file mode 100644
index 3099cef5b8b2c8541e06c3291d755762ad6731f3..0000000000000000000000000000000000000000
--- a/components/chooser_controller/chooser_controller.cc
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright 2016 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/chooser_controller/chooser_controller.h"
-
-#include "content/public/browser/render_frame_host.h"
-#include "url/origin.h"
-
-ChooserController::ChooserController(content::RenderFrameHost* owner)
- : owning_frame_(owner) {}
-
-ChooserController::~ChooserController() {}
-
-url::Origin ChooserController::GetOrigin() const {
- return owning_frame_ ? owning_frame_->GetLastCommittedOrigin()
- : url::Origin();
-}
« no previous file with comments | « components/chooser_controller/chooser_controller.h ('k') | components/chooser_controller/mock_chooser_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698