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

Unified Diff: ui/app_list/test/test_search_result.h

Issue 621823004: Simplifies the structure of app_list search a bit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years, 2 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: ui/app_list/test/test_search_result.h
diff --git a/ui/app_list/test/test_search_result.h b/ui/app_list/test/test_search_result.h
new file mode 100644
index 0000000000000000000000000000000000000000..3f6b624cdbd17930c686dcc1b85148bd0a66d2b9
--- /dev/null
+++ b/ui/app_list/test/test_search_result.h
@@ -0,0 +1,27 @@
+// Copyright (c) 2014 The Chromium Authors. All rights reserved.
tapted 2014/10/03 02:59:17 nit: no (c)
Jun Mukai 2014/10/03 20:23:36 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_APP_LIST_TEST_TEST_SEARCH_RESULT_H_
+#define UI_APP_LIST_TEST_TEST_SEARCH_RESULT_H_
+
+#include "ui/app_list/search_result.h"
+
+namespace app_list {
+
+// A test search result which does nothing.
+class TestSearchResult : public SearchResult {
+ public:
+ TestSearchResult();
+ virtual ~TestSearchResult();
+
+ // SearchResult:
+ virtual scoped_ptr<SearchResult> Duplicate() override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(TestSearchResult);
+};
+
+} // namespace app_list
+
+#endif // UI_APP_LIST_TEST_TEST_SEARCH_RESULT_H_

Powered by Google App Engine
This is Rietveld 408576698