 Chromium Code Reviews
 Chromium Code Reviews Issue 1756193008:
  Support uninstalling ARC app from Chrome launcher  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 1756193008:
  Support uninstalling ARC app from Chrome launcher  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| OLD | NEW | 
|---|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "components/arc/test/fake_app_instance.h" | 5 #include "components/arc/test/fake_app_instance.h" | 
| 6 | 6 | 
| 7 #include <stdint.h> | 7 #include <stdint.h> | 
| 8 | 8 | 
| 9 #include <string> | 9 #include <string> | 
| 10 #include <vector> | 10 #include <vector> | 
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 126 } | 126 } | 
| 127 } | 127 } | 
| 128 | 128 | 
| 129 void FakeAppInstance::CanHandleResolution(const mojo::String& package_name, | 129 void FakeAppInstance::CanHandleResolution(const mojo::String& package_name, | 
| 130 const mojo::String& activity, | 130 const mojo::String& activity, | 
| 131 ScreenRectPtr dimension, | 131 ScreenRectPtr dimension, | 
| 132 const CanHandleResolutionCallback& callback) { | 132 const CanHandleResolutionCallback& callback) { | 
| 133 callback.Run(true); | 133 callback.Run(true); | 
| 134 } | 134 } | 
| 135 | 135 | 
| 136 void FakeAppInstance::UninstallApp(const mojo::String& package_name, | |
| 137 const UninstallAppCallback& callback) { | |
| 138 callback.Run(nullptr); | |
| 
dcheng
2016/03/08 02:18:46
It feels a little funky that you can construct moj
 
victorhsieh0
2016/03/08 18:02:52
Yeah, mojo::String can be passed through IPC, so i
 | |
| 139 } | |
| 140 | |
| 136 } // namespace arc | 141 } // namespace arc | 
| OLD | NEW |