| OLD | NEW |
| 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/automation/tab_proxy.h" | 5 #include "chrome/test/automation/tab_proxy.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/json/json_value_serializer.h" | 9 #include "base/json/json_string_value_serializer.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/string16.h" | 11 #include "base/string16.h" |
| 12 #include "base/threading/platform_thread.h" | 12 #include "base/threading/platform_thread.h" |
| 13 #include "base/utf_string_conversions.h" | 13 #include "base/utf_string_conversions.h" |
| 14 #include "chrome/common/automation_constants.h" | 14 #include "chrome/common/automation_constants.h" |
| 15 #include "chrome/common/automation_messages.h" | 15 #include "chrome/common/automation_messages.h" |
| 16 #include "chrome/test/automation/automation_json_requests.h" | 16 #include "chrome/test/automation/automation_json_requests.h" |
| 17 #include "chrome/test/automation/automation_proxy.h" | 17 #include "chrome/test/automation/automation_proxy.h" |
| 18 #include "chrome/test/automation/browser_proxy.h" | 18 #include "chrome/test/automation/browser_proxy.h" |
| 19 #include "googleurl/src/gurl.h" | 19 #include "googleurl/src/gurl.h" |
| (...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 838 json)); | 838 json)); |
| 839 } | 839 } |
| 840 | 840 |
| 841 void TabProxy::FirstObjectAdded() { | 841 void TabProxy::FirstObjectAdded() { |
| 842 AddRef(); | 842 AddRef(); |
| 843 } | 843 } |
| 844 | 844 |
| 845 void TabProxy::LastObjectRemoved() { | 845 void TabProxy::LastObjectRemoved() { |
| 846 Release(); | 846 Release(); |
| 847 } | 847 } |
| OLD | NEW |