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

Unified Diff: chrome/browser/ui/app_list/app_list_service_cocoa.h

Issue 12207104: Refactor app_list_util.h into AppListService abstract base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stray newline Created 7 years, 10 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: chrome/browser/ui/app_list/app_list_service_cocoa.h
diff --git a/chrome/browser/ui/app_list/app_list_service_cocoa.h b/chrome/browser/ui/app_list/app_list_service_cocoa.h
new file mode 100644
index 0000000000000000000000000000000000000000..8a9fc0f53fce1e02e29b03dc4fd50394fdad5e8d
--- /dev/null
+++ b/chrome/browser/ui/app_list/app_list_service_cocoa.h
@@ -0,0 +1,21 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_COCOA_H_
tfarina 2013/02/20 03:29:44 what is this file doing here? Can you move it to
tapted 2013/02/20 04:15:07 This one, technically yes. But not so for app_list
+#define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_COCOA_H_
+
+#include "chrome/browser/ui/app_list/app_list_service.h"
+
+class AppListServiceCocoa : public AppListService {
+ public:
+ static AppListServiceCocoa* GetInstance();
+
+ protected:
+ AppListServiceCocoa() {}
tfarina 2013/02/20 03:29:44 is this protected to disallow manual instantiation
tapted 2013/02/20 04:15:07 AppListControllerCocoa inherits from this, so need
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(AppListServiceCocoa);
+};
+
+#endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_COCOA_H_

Powered by Google App Engine
This is Rietveld 408576698