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

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

Issue 2546183004: Remove unused linked_ptr inclusion (Closed)
Patch Set: Created 4 years 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_commands.h" 5 #include "chrome/test/chromedriver/session_commands.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
14 #include "base/memory/linked_ptr.h"
15 #include "base/message_loop/message_loop.h" 14 #include "base/message_loop/message_loop.h"
16 #include "base/run_loop.h" 15 #include "base/run_loop.h"
17 #include "base/threading/thread.h" 16 #include "base/threading/thread.h"
18 #include "base/values.h" 17 #include "base/values.h"
19 #include "chrome/test/chromedriver/chrome/status.h" 18 #include "chrome/test/chromedriver/chrome/status.h"
20 #include "chrome/test/chromedriver/chrome/stub_chrome.h" 19 #include "chrome/test/chromedriver/chrome/stub_chrome.h"
21 #include "chrome/test/chromedriver/commands.h" 20 #include "chrome/test/chromedriver/commands.h"
22 #include "chrome/test/chromedriver/session.h" 21 #include "chrome/test/chromedriver/session.h"
23 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
24 23
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 status_code = ExecuteSetAutoReporting(&session, params, &value).code(); 146 status_code = ExecuteSetAutoReporting(&session, params, &value).code();
148 ASSERT_EQ(kOk, status_code); 147 ASSERT_EQ(kOk, status_code);
149 ASSERT_FALSE(session.auto_reporting_enabled); 148 ASSERT_FALSE(session.auto_reporting_enabled);
150 149
151 // check that autoreporting was disabled successfully 150 // check that autoreporting was disabled successfully
152 status_code = ExecuteIsAutoReporting(&session, params, &value).code(); 151 status_code = ExecuteIsAutoReporting(&session, params, &value).code();
153 ASSERT_EQ(kOk, status_code); 152 ASSERT_EQ(kOk, status_code);
154 ASSERT_TRUE(value.get()->GetAsBoolean(&enabled)); 153 ASSERT_TRUE(value.get()->GetAsBoolean(&enabled));
155 ASSERT_FALSE(enabled); 154 ASSERT_FALSE(enabled);
156 } 155 }
OLDNEW
« no previous file with comments | « chrome/test/base/chrome_test_launcher.cc ('k') | components/guest_view/renderer/guest_view_container_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698