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

Side by Side Diff: chrome/test/chromedriver/chrome/dom_tracker.h

Issue 637933002: Replace FINAL and OVERRIDE with their C++11 counterparts in chrome/test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_TEST_CHROMEDRIVER_CHROME_DOM_TRACKER_H_ 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_DOM_TRACKER_H_
6 #define CHROME_TEST_CHROMEDRIVER_CHROME_DOM_TRACKER_H_ 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_DOM_TRACKER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 11 matching lines...) Expand all
22 22
23 // Tracks the state of the DOM and execution context creation. 23 // Tracks the state of the DOM and execution context creation.
24 class DomTracker : public DevToolsEventListener { 24 class DomTracker : public DevToolsEventListener {
25 public: 25 public:
26 explicit DomTracker(DevToolsClient* client); 26 explicit DomTracker(DevToolsClient* client);
27 virtual ~DomTracker(); 27 virtual ~DomTracker();
28 28
29 Status GetFrameIdForNode(int node_id, std::string* frame_id); 29 Status GetFrameIdForNode(int node_id, std::string* frame_id);
30 30
31 // Overridden from DevToolsEventListener: 31 // Overridden from DevToolsEventListener:
32 virtual Status OnConnected(DevToolsClient* client) OVERRIDE; 32 virtual Status OnConnected(DevToolsClient* client) override;
33 virtual Status OnEvent(DevToolsClient* client, 33 virtual Status OnEvent(DevToolsClient* client,
34 const std::string& method, 34 const std::string& method,
35 const base::DictionaryValue& params) OVERRIDE; 35 const base::DictionaryValue& params) override;
36 36
37 private: 37 private:
38 bool ProcessNodeList(const base::Value* nodes); 38 bool ProcessNodeList(const base::Value* nodes);
39 bool ProcessNode(const base::Value* node); 39 bool ProcessNode(const base::Value* node);
40 40
41 std::map<int, std::string> node_to_frame_map_; 41 std::map<int, std::string> node_to_frame_map_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(DomTracker); 43 DISALLOW_COPY_AND_ASSIGN(DomTracker);
44 }; 44 };
45 45
46 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_DOM_TRACKER_H_ 46 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_DOM_TRACKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698