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

Unified Diff: chrome/browser/chromeos/login/ui/web_view_handle.h

Issue 2610373002: cros: Only preload the lock screen; do not reuse it. (Closed)
Patch Set: Address comments Created 3 years, 11 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/chromeos/login/ui/web_view_handle.h
diff --git a/chrome/browser/chromeos/login/ui/web_view_handle.h b/chrome/browser/chromeos/login/ui/web_view_handle.h
deleted file mode 100644
index 856abfc6f693b487c0a0b839d3c85e56c97aeb86..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/ui/web_view_handle.h
+++ /dev/null
@@ -1,41 +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.
-
-#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEB_VIEW_HANDLE_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEB_VIEW_HANDLE_H_
-
-#include <memory>
-
-#include "base/macros.h"
-#include "base/memory/ref_counted.h"
-
-class Profile;
-
-namespace views {
-class WebView;
-}
-
-namespace chromeos {
-
-// Owns a views::WebView instance. Any caller actively using the views::WebView
-// instance should increase/decrease the refcount.
-class WebViewHandle : public base::RefCounted<WebViewHandle> {
- public:
- explicit WebViewHandle(Profile* profile);
-
- // Returns an unowned pointer to the stored |web_view| instance.
- views::WebView* web_view() { return web_view_.get(); }
-
- private:
- friend class base::RefCounted<WebViewHandle>;
- ~WebViewHandle();
-
- std::unique_ptr<views::WebView> web_view_;
-
- DISALLOW_COPY_AND_ASSIGN(WebViewHandle);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEB_VIEW_HANDLE_H_
« no previous file with comments | « chrome/browser/chromeos/login/ui/shared_web_view_factory.cc ('k') | chrome/browser/chromeos/login/ui/web_view_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698