Pipeline: Handle the case where Seek() is called after error happened.
[chromium-blink-merge.git] / athena / content / public / content_app_model_builder.h
blob85c79998ae350eefbf551093a9bb4da2f4bafe29
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ATHENA_CONTENT_PUBLIC_CONTENT_APP_MODEL_BUILDER_H_
6 #define ATHENA_CONTENT_PUBLIC_CONTENT_APP_MODEL_BUILDER_H_
8 #include "athena/home/public/app_model_builder.h"
9 #include "base/macros.h"
11 namespace content {
12 class BrowserContext;
15 namespace athena {
17 class ATHENA_EXPORT ContentAppModelBuilder : public AppModelBuilder {
18 public:
19 explicit ContentAppModelBuilder(content::BrowserContext* browser_context);
20 virtual ~ContentAppModelBuilder();
22 virtual void PopulateApps(app_list::AppListModel* model) OVERRIDE;
24 private:
25 content::BrowserContext* browser_context_;
27 DISALLOW_COPY_AND_ASSIGN(ContentAppModelBuilder);
30 } // namespace athena
32 #endif // ATHENA_CONTENT_PUBLIC_CONTENT_APP_MODEL_BUILDER_H_