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

Unified Diff: ios/web_view/internal/translate/criwv_translate_client.h

Issue 2691883003: Rename ios/web_view public delegates from CRIWV to CWV prefix. (Closed)
Patch Set: 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/translate/criwv_translate_client.h
diff --git a/ios/web_view/internal/translate/criwv_translate_client.h b/ios/web_view/internal/translate/criwv_translate_client.h
index 277b329c455ed8e5e322120b305f14008b127ccc..6fbdfacd966e7c54cb7fef81d3197aecf748050b 100644
--- a/ios/web_view/internal/translate/criwv_translate_client.h
+++ b/ios/web_view/internal/translate/criwv_translate_client.h
@@ -15,7 +15,7 @@
#include "ios/web/public/web_state/web_state_observer.h"
#import "ios/web/public/web_state/web_state_user_data.h"
-@protocol CRIWVTranslateDelegate;
+@protocol CWVTranslateDelegate;
class PrefService;
namespace translate {
@@ -37,7 +37,7 @@ class CRIWVTranslateClient
public:
// Sets the delegate passed by the embedder.
// |delegate| is assumed to outlive this CRIWVTranslateClient.
- void set_translate_delegate(id<CRIWVTranslateDelegate> delegate) {
+ void set_translate_delegate(id<CWVTranslateDelegate> delegate) {
delegate_ = delegate;
}
@@ -72,7 +72,7 @@ class CRIWVTranslateClient
translate::IOSTranslateDriver translate_driver_;
// Delegate provided by the embedder.
- id<CRIWVTranslateDelegate> delegate_; // Weak.
+ id<CWVTranslateDelegate> delegate_; // Weak.
DISALLOW_COPY_AND_ASSIGN(CRIWVTranslateClient);
};

Powered by Google App Engine
This is Rietveld 408576698