Index: chrome/test/chromedriver/session_unittest.cc |
diff --git a/chrome/test/chromedriver/session_unittest.cc b/chrome/test/chromedriver/session_unittest.cc |
index 5f6d0d02fcd0d070f6eb3915c6539c29b9d1764a..8f0afb26496c455aa4d4d1838704075f454b4cc8 100644 |
--- a/chrome/test/chromedriver/session_unittest.cc |
+++ b/chrome/test/chromedriver/session_unittest.cc |
@@ -5,25 +5,13 @@ |
#include <list> |
#include <string> |
-#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
-#include "base/synchronization/lock.h" |
#include "chrome/test/chromedriver/chrome/status.h" |
#include "chrome/test/chromedriver/chrome/stub_chrome.h" |
#include "chrome/test/chromedriver/chrome/stub_web_view.h" |
#include "chrome/test/chromedriver/session.h" |
#include "testing/gtest/include/gtest/gtest.h" |
-TEST(SessionAccessorTest, LocksSession) { |
- scoped_ptr<Session> scoped_session(new Session("id")); |
- Session* session = scoped_session.get(); |
- scoped_refptr<SessionAccessor> accessor( |
- new SessionAccessorImpl(scoped_session.Pass())); |
- scoped_ptr<base::AutoLock> lock; |
- ASSERT_EQ(session, accessor->Access(&lock)); |
- ASSERT_TRUE(lock.get()); |
-} |
- |
namespace { |
class MockChrome : public StubChrome { |