Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / search / most_visited_iframe_source.h
index fad9823..9399573 100644 (file)
@@ -15,7 +15,7 @@
 class MostVisitedIframeSource : public IframeSource {
  public:
   MostVisitedIframeSource();
-  virtual ~MostVisitedIframeSource();
+  ~MostVisitedIframeSource() override;
 
   // Number of Most Visited elements on the NTP for logging purposes.
   static const int kNumMostVisited;
@@ -23,31 +23,22 @@ class MostVisitedIframeSource : public IframeSource {
   static const char kMostVisitedHistogramName[];
 
   // Overridden from IframeSource. Public for testing.
-  virtual void StartDataRequest(
+  void StartDataRequest(
       const std::string& path_and_query,
       int render_process_id,
       int render_frame_id,
-      const content::URLDataSource::GotDataCallback& callback) OVERRIDE;
+      const content::URLDataSource::GotDataCallback& callback) override;
 
  protected:
   // Overridden from IframeSource:
-  virtual std::string GetSource() const OVERRIDE;
+  std::string GetSource() const override;
 
-  virtual bool ServesPath(const std::string& path) const OVERRIDE;
+  bool ServesPath(const std::string& path) const override;
 
  private:
   FRIEND_TEST_ALL_PREFIXES(MostVisitedIframeSourceTest,
                            LogEndpointIsValidWithProvider);
 
-  // Logs the click on a Most Visited tile for a specific |provider|. Note that
-  // the UMA_HISTOGRAM_ENUMERATION macro cannot be used since it caches the
-  // histogram object at the call site, which will not work in this case.
-  void LogMostVisitedProviderClick(int position, const std::string& provider);
-
-  // Returns the name of the histogram that should be logged for a click to a
-  // specified Most Visited |provider|.
-  static std::string GetHistogramNameForProvider(const std::string& provider);
-
   DISALLOW_COPY_AND_ASSIGN(MostVisitedIframeSource);
 };