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

Side by Side Diff: services/surfaces/surfaces_service_application.h

Issue 791493006: De-client tracing.TraceController interface (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SERVICES_SURFACES_SURFACES_SERVICE_APPLICATION_H_ 5 #ifndef SERVICES_SURFACES_SURFACES_SERVICE_APPLICATION_H_
6 #define SERVICES_SURFACES_SURFACES_SERVICE_APPLICATION_H_ 6 #define SERVICES_SURFACES_SURFACES_SERVICE_APPLICATION_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/timer/timer.h" 9 #include "base/timer/timer.h"
10 #include "cc/surfaces/surface_manager.h" 10 #include "cc/surfaces/surface_manager.h"
11 #include "mojo/common/tracing_impl.h"
11 #include "mojo/public/cpp/application/application_delegate.h" 12 #include "mojo/public/cpp/application/application_delegate.h"
12 #include "mojo/public/cpp/application/interface_factory.h" 13 #include "mojo/public/cpp/application/interface_factory.h"
13 #include "mojo/services/surfaces/public/interfaces/surfaces_service.mojom.h" 14 #include "mojo/services/surfaces/public/interfaces/surfaces_service.mojom.h"
14 #include "services/surfaces/surfaces_impl.h" 15 #include "services/surfaces/surfaces_impl.h"
15 #include "services/surfaces/surfaces_scheduler.h" 16 #include "services/surfaces/surfaces_scheduler.h"
16 17
17 namespace mojo { 18 namespace mojo {
18 class ApplicationConnection; 19 class ApplicationConnection;
19 } 20 }
20 21
(...skipping 30 matching lines...) Expand all
51 void OnDisplayBeingDestroyed(cc::Display* display) override; 52 void OnDisplayBeingDestroyed(cc::Display* display) override;
52 53
53 // SurfacesScheduler::Client 54 // SurfacesScheduler::Client
54 void Draw() override; 55 void Draw() override;
55 56
56 private: 57 private:
57 cc::SurfaceManager manager_; 58 cc::SurfaceManager manager_;
58 uint32_t next_id_namespace_; 59 uint32_t next_id_namespace_;
59 cc::Display* display_; 60 cc::Display* display_;
60 scoped_ptr<SurfacesScheduler> scheduler_; 61 scoped_ptr<SurfacesScheduler> scheduler_;
62 mojo::TracingImpl tracing_;
61 63
62 DISALLOW_COPY_AND_ASSIGN(SurfacesServiceApplication); 64 DISALLOW_COPY_AND_ASSIGN(SurfacesServiceApplication);
63 }; 65 };
64 66
65 } // namespace surfaces 67 } // namespace surfaces
66 68
67 #endif // SERVICES_SURFACES_SURFACES_SERVICE_APPLICATION_H_ 69 #endif // SERVICES_SURFACES_SURFACES_SERVICE_APPLICATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698