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

Side by Side Diff: chrome/renderer/searchbox/search_bouncer.h

Issue 630603003: Replacing the OVERRIDE with override in chrome/renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_RENDERER_SEARCHBOX_SEARCH_BOUNCER_H_ 5 #ifndef CHROME_RENDERER_SEARCHBOX_SEARCH_BOUNCER_H_
6 #define CHROME_RENDERER_SEARCHBOX_SEARCH_BOUNCER_H_ 6 #define CHROME_RENDERER_SEARCHBOX_SEARCH_BOUNCER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 19 matching lines...) Expand all
30 // Returns whether |url| is a valid Instant new tab page URL. 30 // Returns whether |url| is a valid Instant new tab page URL.
31 bool IsNewTabPage(const GURL& url) const; 31 bool IsNewTabPage(const GURL& url) const;
32 32
33 // Exposed for testing. 33 // Exposed for testing.
34 void OnSetSearchURLs(std::vector<GURL> search_urls, GURL new_tab_page_url); 34 void OnSetSearchURLs(std::vector<GURL> search_urls, GURL new_tab_page_url);
35 35
36 private: 36 private:
37 FRIEND_TEST_ALL_PREFIXES(SearchBouncerTest, SetSearchURLs); 37 FRIEND_TEST_ALL_PREFIXES(SearchBouncerTest, SetSearchURLs);
38 38
39 // From RenderProcessObserver: 39 // From RenderProcessObserver:
40 virtual bool OnControlMessageReceived(const IPC::Message& message) OVERRIDE; 40 virtual bool OnControlMessageReceived(const IPC::Message& message) override;
41 41
42 // URLs to bounce back to the browser. 42 // URLs to bounce back to the browser.
43 std::vector<GURL> search_urls_; 43 std::vector<GURL> search_urls_;
44 GURL new_tab_page_url_; 44 GURL new_tab_page_url_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(SearchBouncer); 46 DISALLOW_COPY_AND_ASSIGN(SearchBouncer);
47 }; 47 };
48 48
49 #endif // CHROME_RENDERER_SEARCHBOX_SEARCH_BOUNCER_H_ 49 #endif // CHROME_RENDERER_SEARCHBOX_SEARCH_BOUNCER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc ('k') | chrome/renderer/searchbox/searchbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698