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

Side by Side Diff: cloud_print/service/win/setup_listener.h

Issue 1100633004: Update {virtual,override} to follow C++11 style in cloud_print. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile. Created 5 years, 8 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
« no previous file with comments | « cloud_print/service/win/service_listener.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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 CLOUD_PRINT_SERVICE_SETUP_LISTENER_H_ 5 #ifndef CLOUD_PRINT_SERVICE_SETUP_LISTENER_H_
6 #define CLOUD_PRINT_SERVICE_SETUP_LISTENER_H_ 6 #define CLOUD_PRINT_SERVICE_SETUP_LISTENER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 18 matching lines...) Expand all
29 class SetupListener : public IPC::Listener { 29 class SetupListener : public IPC::Listener {
30 public: 30 public:
31 static const char kXpsAvailableJsonValueName[]; 31 static const char kXpsAvailableJsonValueName[];
32 static const char kChromePathJsonValueName[]; 32 static const char kChromePathJsonValueName[];
33 static const char kPrintersJsonValueName[]; 33 static const char kPrintersJsonValueName[];
34 static const char kUserDataDirJsonValueName[]; 34 static const char kUserDataDirJsonValueName[];
35 static const char kUserNameJsonValueName[]; 35 static const char kUserNameJsonValueName[];
36 static const wchar_t kSetupPipeName[]; 36 static const wchar_t kSetupPipeName[];
37 37
38 explicit SetupListener(const base::string16& user); 38 explicit SetupListener(const base::string16& user);
39 virtual ~SetupListener(); 39 ~SetupListener() override;
40 40
41 virtual bool OnMessageReceived(const IPC::Message& msg) override; 41 bool OnMessageReceived(const IPC::Message& msg) override;
42 virtual void OnChannelError() override; 42 void OnChannelError() override;
43 43
44 bool WaitResponce(const base::TimeDelta& delta); 44 bool WaitResponce(const base::TimeDelta& delta);
45 45
46 const base::FilePath& chrome_path() const { 46 const base::FilePath& chrome_path() const {
47 return chrome_path_; 47 return chrome_path_;
48 } 48 }
49 49
50 const base::FilePath& user_data_dir() const { 50 const base::FilePath& user_data_dir() const {
51 return user_data_dir_; 51 return user_data_dir_;
52 } 52 }
(...skipping 21 matching lines...) Expand all
74 bool is_xps_available_; 74 bool is_xps_available_;
75 bool succeded_; 75 bool succeded_;
76 76
77 scoped_ptr<base::WaitableEvent> done_event_; 77 scoped_ptr<base::WaitableEvent> done_event_;
78 scoped_ptr<base::Thread> ipc_thread_; 78 scoped_ptr<base::Thread> ipc_thread_;
79 scoped_ptr<IPC::Channel> channel_; 79 scoped_ptr<IPC::Channel> channel_;
80 }; 80 };
81 81
82 #endif // CLOUD_PRINT_SERVICE_SETUP_LISTENER_H_ 82 #endif // CLOUD_PRINT_SERVICE_SETUP_LISTENER_H_
83 83
OLDNEW
« no previous file with comments | « cloud_print/service/win/service_listener.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698