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

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

Issue 8614003: Add OVERRIDE to chrome/browser/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 22 matching lines...) Expand all
33 33
34 // Sets up the data structures for this class (mirroring gtest standard 34 // Sets up the data structures for this class (mirroring gtest standard
35 // methods). 35 // methods).
36 void SetUp(); 36 void SetUp();
37 37
38 // Cleans up data structures for this class (mirroring gtest standard 38 // Cleans up data structures for this class (mirroring gtest standard
39 // methods). 39 // methods).
40 void TearDown(); 40 void TearDown();
41 41
42 // TemplateURLServiceObserver implemementation. 42 // TemplateURLServiceObserver implemementation.
43 virtual void OnTemplateURLServiceChanged(); 43 virtual void OnTemplateURLServiceChanged() OVERRIDE;
44 44
45 // Gets the observer count. 45 // Gets the observer count.
46 int GetObserverCount(); 46 int GetObserverCount();
47 47
48 // Sets the observer count to 0. 48 // Sets the observer count to 0.
49 void ResetObserverCount(); 49 void ResetObserverCount();
50 50
51 // Blocks the caller until the service has finished servicing all pending 51 // Blocks the caller until the service has finished servicing all pending
52 // requests. 52 // requests.
53 static void BlockTillServiceProcessesRequests(); 53 static void BlockTillServiceProcessesRequests();
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // properly. 95 // properly.
96 content::TestBrowserThread ui_thread_; 96 content::TestBrowserThread ui_thread_;
97 scoped_ptr<TemplateURLServiceTestingProfile> profile_; 97 scoped_ptr<TemplateURLServiceTestingProfile> profile_;
98 scoped_ptr<TestingTemplateURLService> model_; 98 scoped_ptr<TestingTemplateURLService> model_;
99 int changed_count_; 99 int changed_count_;
100 100
101 DISALLOW_COPY_AND_ASSIGN(TemplateURLServiceTestUtil); 101 DISALLOW_COPY_AND_ASSIGN(TemplateURLServiceTestUtil);
102 }; 102 };
103 103
104 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_TEST_UTIL_H_ 104 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/search_engines/template_url_service_factory.h ('k') | chrome/browser/service/service_process_control.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698