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

Side by Side Diff: chrome/browser/search_engines/template_url_service_test_util.h

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_TEST_UTIL_H_ 5 #ifndef CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_TEST_UTIL_H_
6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_TEST_UTIL_H_ 6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_TEST_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/files/scoped_temp_dir.h" 11 #include "base/files/scoped_temp_dir.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
15 #include "components/search_engines/template_url_service_observer.h" 15 #include "components/search_engines/template_url_service_observer.h"
16 16
17 class GURL; 17 class GURL;
18 class KeywordWebDataService; 18 class KeywordWebDataService;
19 class TemplateURLService; 19 class TemplateURLService;
20 class TestingProfile; 20 class TestingProfile;
21 class TestingSearchTermsData; 21 class TestingSearchTermsData;
22 22
23 class TemplateURLServiceTestUtil : public TemplateURLServiceObserver { 23 class TemplateURLServiceTestUtil : public TemplateURLServiceObserver {
24 public: 24 public:
25 TemplateURLServiceTestUtil(); 25 TemplateURLServiceTestUtil();
26 virtual ~TemplateURLServiceTestUtil(); 26 virtual ~TemplateURLServiceTestUtil();
27 27
28 // TemplateURLServiceObserver implemementation. 28 // TemplateURLServiceObserver implemementation.
29 virtual void OnTemplateURLServiceChanged() OVERRIDE; 29 virtual void OnTemplateURLServiceChanged() override;
30 30
31 // Gets the observer count. 31 // Gets the observer count.
32 int GetObserverCount(); 32 int GetObserverCount();
33 33
34 // Sets the observer count to 0. 34 // Sets the observer count to 0.
35 void ResetObserverCount(); 35 void ResetObserverCount();
36 36
37 // Makes sure the load was successful and sent the correct notification. 37 // Makes sure the load was successful and sent the correct notification.
38 void VerifyLoad(); 38 void VerifyLoad();
39 39
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 int changed_count_; 83 int changed_count_;
84 base::string16 search_term_; 84 base::string16 search_term_;
85 scoped_refptr<KeywordWebDataService> web_data_service_; 85 scoped_refptr<KeywordWebDataService> web_data_service_;
86 TestingSearchTermsData* search_terms_data_; 86 TestingSearchTermsData* search_terms_data_;
87 scoped_ptr<TemplateURLService> model_; 87 scoped_ptr<TemplateURLService> model_;
88 88
89 DISALLOW_COPY_AND_ASSIGN(TemplateURLServiceTestUtil); 89 DISALLOW_COPY_AND_ASSIGN(TemplateURLServiceTestUtil);
90 }; 90 };
91 91
92 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_TEST_UTIL_H_ 92 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_TEST_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698