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

Unified Diff: ios/web_view/internal/criwv_web_client.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
Index: ios/web_view/internal/criwv_web_client.h
diff --git a/ios/web_view/internal/criwv_web_client.h b/ios/web_view/internal/criwv_web_client.h
deleted file mode 100644
index a6960a9473ddbb23696c438a561d57855805b11c..0000000000000000000000000000000000000000
--- a/ios/web_view/internal/criwv_web_client.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_CLIENT_H_
-#define IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_CLIENT_H_
-
-#include <memory>
-#include "base/compiler_specific.h"
-#import "ios/web/public/web_client.h"
-
-@protocol CWVDelegate;
-
-namespace ios_web_view {
-class CRIWVBrowserState;
-class CRIWVWebMainParts;
-
-// CWV-specific implementation of WebClient. Delegates some functionality to
-// CWVDelegate.
-class CRIWVWebClient : public web::WebClient {
- public:
- explicit CRIWVWebClient(id<CWVDelegate> delegate);
- ~CRIWVWebClient() override;
-
- // WebClient implementation.
- web::WebMainParts* CreateWebMainParts() override;
- std::string GetProduct() const override;
- std::string GetUserAgent(bool desktop_user_agent) const override;
-
- // Normal browser state associated with the receiver.
- CRIWVBrowserState* browser_state() const;
- // Off the record browser state associated with the receiver.
- CRIWVBrowserState* off_the_record_browser_state() const;
-
- private:
- // This object's delegate.
- __weak id<CWVDelegate> delegate_;
-
- // The WebMainParts created by |CreateWebMainParts()|.
- CRIWVWebMainParts* web_main_parts_;
-
- DISALLOW_COPY_AND_ASSIGN(CRIWVWebClient);
-};
-
-} // namespace ios_web_view
-
-#endif // IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_CLIENT_H_
« no previous file with comments | « ios/web_view/internal/criwv_url_request_context_getter.mm ('k') | ios/web_view/internal/criwv_web_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698