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

Side by Side Diff: cloud_print/gcp20/prototype/printer.h

Issue 16975004: Finished DNS-SD server. Finished Privet-specified DNS-SD server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added strong control of size in PrivetDnsResponseBuilder. Created 7 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2013 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.
4
5 #ifndef GCP20_PROTOTYPE_PRINTER_H_
6 #define GCP20_PROTOTYPE_PRINTER_H_
7
8 #include "cloud_print/gcp20/prototype/dns_sd_server.h"
9 #include "cloud_print/gcp20/prototype/privet_dns_response_builder.h"
10
11 // This class will maintain work of DNS-SD server, HTTP server and others.
12 class Printer {
13 public:
14 // Constructs uninitialized object.
15 Printer();
16
17 // Destroys the object.
18 ~Printer();
19
20 // Starts all servers.
21 bool Start();
22
23 // Stops all servers.
24 void Stop();
25
26 private:
27 // Contains |true| if initialized.
28 bool initialized_;
29
30 // Contains DNS-SD server.
31 DnsSdServer dns_server_;
32 };
33
34 #endif // GCP20_PROTOTYPE_PRINTER_H_
35
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698