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

Side by Side Diff: chromeos/geolocation/simple_geolocation_request_test_monitor.h

Issue 1933003003: ChromeOS: chromeos should not depend on chromeos_test_support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add CHROMEOS_EXPORT to SimpleGeolocationRequestTestMonitor. Created 4 years, 7 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
« no previous file with comments | « chromeos/chromeos.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 CHROMEOS_GEOLOCATION_SIMPLE_GEOLOCATION_REQUEST_TEST_MONITOR_H_ 5 #ifndef CHROMEOS_GEOLOCATION_SIMPLE_GEOLOCATION_REQUEST_TEST_MONITOR_H_
6 #define CHROMEOS_GEOLOCATION_SIMPLE_GEOLOCATION_REQUEST_TEST_MONITOR_H_ 6 #define CHROMEOS_GEOLOCATION_SIMPLE_GEOLOCATION_REQUEST_TEST_MONITOR_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chromeos/chromeos_export.h"
9 10
10 namespace chromeos { 11 namespace chromeos {
11 12
12 class SimpleGeolocationRequest; 13 class SimpleGeolocationRequest;
13 14
14 // This is global hook, that allows to monitor SimpleGeolocationRequest 15 // This is global hook, that allows to monitor SimpleGeolocationRequest
15 // in tests. 16 // in tests.
16 17 //
17 class SimpleGeolocationRequestTestMonitor { 18 // Note: we need CHROMEOS_EXPORT for tests.
19 class CHROMEOS_EXPORT SimpleGeolocationRequestTestMonitor {
18 public: 20 public:
19 SimpleGeolocationRequestTestMonitor(); 21 SimpleGeolocationRequestTestMonitor();
20 22
21 virtual ~SimpleGeolocationRequestTestMonitor(); 23 virtual ~SimpleGeolocationRequestTestMonitor();
22 virtual void OnRequestCreated(SimpleGeolocationRequest* request); 24 virtual void OnRequestCreated(SimpleGeolocationRequest* request);
23 virtual void OnStart(SimpleGeolocationRequest* request); 25 virtual void OnStart(SimpleGeolocationRequest* request);
24 26
25 private: 27 private:
26 DISALLOW_COPY_AND_ASSIGN(SimpleGeolocationRequestTestMonitor); 28 DISALLOW_COPY_AND_ASSIGN(SimpleGeolocationRequestTestMonitor);
27 }; 29 };
28 30
29 } // namespace chromeos 31 } // namespace chromeos
30 32
31 #endif // CHROMEOS_GEOLOCATION_SIMPLE_GEOLOCATION_REQUEST_TEST_MONITOR_H_ 33 #endif // CHROMEOS_GEOLOCATION_SIMPLE_GEOLOCATION_REQUEST_TEST_MONITOR_H_
OLDNEW
« no previous file with comments | « chromeos/chromeos.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698