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

Side by Side Diff: chrome/test/chromedriver/session.cc

Issue 2230053002: [chromedriver] Added option to make element references W3C compliant. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed presubmit errors. Created 4 years, 4 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 #include "chrome/test/chromedriver/session.h" 5 #include "chrome/test/chromedriver/session.h"
6 6
7 #include <list> 7 #include <list>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 } 114 }
115 return std::string(); 115 return std::string();
116 } 116 }
117 117
118 Session* GetThreadLocalSession() { 118 Session* GetThreadLocalSession() {
119 return lazy_tls_session.Pointer()->Get(); 119 return lazy_tls_session.Pointer()->Get();
120 } 120 }
121 121
122 void SetThreadLocalSession(std::unique_ptr<Session> session) { 122 void SetThreadLocalSession(std::unique_ptr<Session> session) {
123 lazy_tls_session.Pointer()->Set(session.release()); 123 lazy_tls_session.Pointer()->Set(session.release());
124 } 124 }
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/js/call_function_test.html ('k') | chrome/test/chromedriver/session_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698