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

Unified Diff: ios/web_view/internal/criwv_web_main_parts.h

Issue 2715043002: Replace prefix of ios/web_view C++ classes. (Closed)
Patch Set: Respond to comments. Created 3 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 | « ios/web_view/internal/criwv_web_main_delegate.mm ('k') | ios/web_view/internal/criwv_web_main_parts.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/internal/criwv_web_main_parts.h
diff --git a/ios/web_view/internal/criwv_web_main_parts.h b/ios/web_view/internal/criwv_web_main_parts.h
deleted file mode 100644
index 927de68ae0ae8f1b9c718555c11aa4bb4d373cc9..0000000000000000000000000000000000000000
--- a/ios/web_view/internal/criwv_web_main_parts.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright 2014 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 IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_MAIN_PARTS_H_
-#define IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_MAIN_PARTS_H_
-
-#include "ios/web/public/app/web_main_parts.h"
-
-#include <memory>
-
-@protocol CWVDelegate;
-
-namespace ios_web_view {
-class CRIWVBrowserState;
-
-// CWV-specific implementation of WebMainParts.
-class CRIWVWebMainParts : public web::WebMainParts {
- public:
- explicit CRIWVWebMainParts(id<CWVDelegate> delegate);
- ~CRIWVWebMainParts() override;
-
- // WebMainParts implementation.
- void PreMainMessageLoopRun() override;
-
- // Returns the CRIWVBrowserState for this embedder.
- CRIWVBrowserState* browser_state() const { return browser_state_.get(); }
-
- // Returns the off the record CRIWVBrowserState for this embedder.
- CRIWVBrowserState* off_the_record_browser_state() const {
- return off_the_record_browser_state_.get();
- }
-
- private:
- // This object's delegate.
- __weak id<CWVDelegate> delegate_;
-
- // The BrowserState for this embedder.
- std::unique_ptr<CRIWVBrowserState> browser_state_;
-
- // The BrowserState for this embedder.
- std::unique_ptr<CRIWVBrowserState> off_the_record_browser_state_;
-};
-
-} // namespace ios_web_view
-
-#endif // IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_MAIN_PARTS_H_
« no previous file with comments | « ios/web_view/internal/criwv_web_main_delegate.mm ('k') | ios/web_view/internal/criwv_web_main_parts.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698