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

Unified Diff: content/public/test/test_web_ui.h

Issue 2269963003: Site Settings Desktop: Fix bug with deleting manually added exceptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: content/public/test/test_web_ui.h
diff --git a/content/public/test/test_web_ui.h b/content/public/test/test_web_ui.h
index 26709cf55c332ed937329d60e97a8789a0948a99..4558e58068f3c1c84b5c26b61625f4a0a84308d6 100644
--- a/content/public/test/test_web_ui.h
+++ b/content/public/test/test_web_ui.h
@@ -70,20 +70,23 @@ class TestWebUI : public WebUI {
explicit CallData(const std::string& function_name);
~CallData();
- void TakeAsArg1(base::Value* arg);
- void TakeAsArg2(base::Value* arg);
- void TakeAsArg3(base::Value* arg);
+ void TakeAsArg1(std::unique_ptr<base::Value> arg);
+ void TakeAsArg2(std::unique_ptr<base::Value> arg);
+ void TakeAsArg3(std::unique_ptr<base::Value> arg);
+ void TakeAsArg4(std::unique_ptr<base::Value> arg);
const std::string& function_name() const { return function_name_; }
const base::Value* arg1() const { return arg1_.get(); }
const base::Value* arg2() const { return arg2_.get(); }
const base::Value* arg3() const { return arg3_.get(); }
+ const base::Value* arg4() const { return arg4_.get(); }
private:
std::string function_name_;
std::unique_ptr<base::Value> arg1_;
std::unique_ptr<base::Value> arg2_;
std::unique_ptr<base::Value> arg3_;
+ std::unique_ptr<base::Value> arg4_;
};
const ScopedVector<CallData>& call_data() const { return call_data_; }
« no previous file with comments | « chrome/test/data/webui/settings/site_details_permission_tests.js ('k') | content/public/test/test_web_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698