| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef CHROME_BROWSER_UI_WEBUI_MEMORY_INTERNALS_MEMORY_INTERNALS_PROXY_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_MEMORY_INTERNALS_MEMORY_INTERNALS_PROXY_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_MEMORY_INTERNALS_MEMORY_INTERNALS_PROXY_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_MEMORY_INTERNALS_MEMORY_INTERNALS_PROXY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/string16.h" | 11 #include "base/strings/string16.h" |
| 12 #include "chrome/browser/memory_details.h" | 12 #include "chrome/browser/memory_details.h" |
| 13 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
| 14 | 14 |
| 15 class MemoryInternalsHandler; | 15 class MemoryInternalsHandler; |
| 16 | 16 |
| 17 namespace base { | 17 namespace base { |
| 18 class ListValue; | 18 class ListValue; |
| 19 class Value; | 19 class Value; |
| 20 } | 20 } |
| 21 | 21 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 49 // Call a JavaScript function on the page. Takes ownership of |args|. | 49 // Call a JavaScript function on the page. Takes ownership of |args|. |
| 50 void CallJavaScriptFunctionOnUIThread(const std::string& function, | 50 void CallJavaScriptFunctionOnUIThread(const std::string& function, |
| 51 base::Value* args); | 51 base::Value* args); |
| 52 | 52 |
| 53 MemoryInternalsHandler* handler_; | 53 MemoryInternalsHandler* handler_; |
| 54 | 54 |
| 55 DISALLOW_COPY_AND_ASSIGN(MemoryInternalsProxy); | 55 DISALLOW_COPY_AND_ASSIGN(MemoryInternalsProxy); |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 #endif // CHROME_BROWSER_UI_WEBUI_MEMORY_INTERNALS_MEMORY_INTERNALS_PROXY_H_ | 58 #endif // CHROME_BROWSER_UI_WEBUI_MEMORY_INTERNALS_MEMORY_INTERNALS_PROXY_H_ |
| OLD | NEW |