[SyncFS] Build indexes from FileTracker entries on disk.
[chromium-blink-merge.git] / mojo / services / test_service / test_service_application.h
blob8892f3059394867b387466f20c33c702cd18657d
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 MOJO_SERVICES_TEST_SERVICE_TEST_SERVICE_APPLICATION_H_
6 #define MOJO_SERVICES_TEST_SERVICE_TEST_SERVICE_APPLICATION_H_
8 #include "mojo/public/cpp/application/application_delegate.h"
9 #include "mojo/public/cpp/system/macros.h"
11 namespace mojo {
12 class ApplicationConnection;
13 namespace test {
15 class TestServiceApplication : public ApplicationDelegate {
16 public:
17 TestServiceApplication();
18 virtual ~TestServiceApplication();
20 virtual bool ConfigureIncomingConnection(ApplicationConnection* connection)
21 MOJO_OVERRIDE;
23 void AddRef();
24 void ReleaseRef();
26 private:
27 int ref_count_;
29 MOJO_DISALLOW_COPY_AND_ASSIGN(TestServiceApplication);
32 } // namespace test
33 } // namespace mojo
35 #endif // MOJO_SERVICES_TEST_SERVICE_TEST_SERVICE_APPLICATION_H_