Chromium Code Reviews| Index: chrome/browser/android/meta_tag_observer.h |
| diff --git a/chrome/browser/android/meta_tag_observer.h b/chrome/browser/android/meta_tag_observer.h |
| deleted file mode 100644 |
| index ec415de6ad26cb99c1212d909a31acdd30c052e1..0000000000000000000000000000000000000000 |
| --- a/chrome/browser/android/meta_tag_observer.h |
| +++ /dev/null |
| @@ -1,44 +0,0 @@ |
| -// Copyright 2014 The Chromium Authors. All rights reserved. |
|
gone
2015/01/28 18:44:13
This class was intended to be used by other classe
|
| -// Use of this source code is governed by a BSD-style license that can be |
| -// found in the LICENSE file. |
| - |
| -#ifndef CHROME_BROWSER_ANDROID_META_TAG_OBSERVER_H_ |
| -#define CHROME_BROWSER_ANDROID_META_TAG_OBSERVER_H_ |
| - |
| -#include "content/public/browser/web_contents_observer.h" |
| - |
| -class GURL; |
| - |
| -// Retrieves the content of a particular meta tag when a page has fully loaded. |
| -// Subclasses must implement |HandleMetaTagContent|, which gets called after |
| -// the DOM has been scanned for the tag. |
| -class MetaTagObserver : public content::WebContentsObserver { |
| - public: |
| - explicit MetaTagObserver(const std::string& meta_tag); |
| - virtual ~MetaTagObserver(); |
| - |
| - // content::WebContentsObserver overrides: |
| - virtual void DidFinishLoad(content::RenderFrameHost* render_frame_host, |
| - const GURL& validated_url) override; |
| - |
| - virtual bool OnMessageReceived(const IPC::Message& message) override; |
| - |
| - protected: |
| - // Called when the meta tag's content has been retrieved successfully. |
| - virtual void HandleMetaTagContent(const std::string& tag_content, |
| - const GURL& expected_url) = 0; |
| - |
| - private: |
| - // Called when the renderer has returned information about the meta tag. |
| - void OnDidRetrieveMetaTagContent(bool success, |
| - const std::string& tag_name, |
| - const std::string& tag_content, |
| - const GURL& expected_url); |
| - |
| - const std::string meta_tag_; |
| - GURL validated_url_; |
| - |
| - DISALLOW_COPY_AND_ASSIGN(MetaTagObserver); |
| -}; |
| - |
| -#endif // CHROME_BROWSER_ANDROID_META_TAG_OBSERVER_H_ |