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

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

Issue 12848005: [chromedriver] Separate stuff of chrome from chromedriver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments and fix compile error on mac. Created 7 years, 9 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 | Annotate | Revision Log
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 8
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/test/chromedriver/chrome.h" 10 #include "chrome/test/chromedriver/chrome/chrome.h"
11 #include "chrome/test/chromedriver/status.h" 11 #include "chrome/test/chromedriver/chrome/status.h"
12 #include "chrome/test/chromedriver/version.h" 12 #include "chrome/test/chromedriver/chrome/version.h"
13 #include "chrome/test/chromedriver/web_view.h" 13 #include "chrome/test/chromedriver/chrome/web_view.h"
14 14
15 FrameInfo::FrameInfo(const std::string& parent_frame_id, 15 FrameInfo::FrameInfo(const std::string& parent_frame_id,
16 const std::string& frame_id, 16 const std::string& frame_id,
17 const std::string& chromedriver_frame_id) 17 const std::string& chromedriver_frame_id)
18 : parent_frame_id(parent_frame_id), 18 : parent_frame_id(parent_frame_id),
19 frame_id(frame_id), 19 frame_id(frame_id),
20 chromedriver_frame_id(chromedriver_frame_id) {} 20 chromedriver_frame_id(chromedriver_frame_id) {}
21 21
22 Session::Session(const std::string& id) 22 Session::Session(const std::string& id)
23 : id(id), 23 : id(id),
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 SessionAccessorImpl::SessionAccessorImpl(scoped_ptr<Session> session) 100 SessionAccessorImpl::SessionAccessorImpl(scoped_ptr<Session> session)
101 : session_(session.Pass()) {} 101 : session_(session.Pass()) {}
102 102
103 Session* SessionAccessorImpl::Access(scoped_ptr<base::AutoLock>* lock) { 103 Session* SessionAccessorImpl::Access(scoped_ptr<base::AutoLock>* lock) {
104 lock->reset(new base::AutoLock(session_lock_)); 104 lock->reset(new base::AutoLock(session_lock_));
105 return session_.get(); 105 return session_.get();
106 } 106 }
107 107
108 SessionAccessorImpl::~SessionAccessorImpl() {} 108 SessionAccessorImpl::~SessionAccessorImpl() {}
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/server/http_handler_unittest.cc ('k') | chrome/test/chromedriver/session_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698