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

Side by Side Diff: components/copresence/public/copresence_manager.h

Issue 517753002: Remove weak_ptr from CopresenceManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
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 COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_MANAGER_H_ 5 #ifndef COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_MANAGER_H_
6 #define COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_MANAGER_H_ 6 #define COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_MANAGER_H_
7 7
8 #include "base/cancelable_callback.h"
Daniel Erat 2014/08/28 21:32:41 this doesn't look like it's referenced in this hea
rkc 2014/08/28 21:51:50 Yep, meant to include it in the impl header. Done.
8 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
9 #include "components/copresence/public/copresence_delegate.h" 10 #include "components/copresence/public/copresence_delegate.h"
10 11
11 namespace copresence { 12 namespace copresence {
12 13
13 class ReportRequest; 14 class ReportRequest;
14 15
15 // The CopresenceManager class is the central interface for Copresence 16 // The CopresenceManager class is the central interface for Copresence
16 // functionality. This class handles all the initialization and delegation 17 // functionality. This class handles all the initialization and delegation
17 // of copresence tasks. Any user of copresence only needs to interact 18 // of copresence tasks. Any user of copresence only needs to interact
(...skipping 17 matching lines...) Expand all
35 static scoped_ptr<CopresenceManager> Create(CopresenceDelegate* delegate); 36 static scoped_ptr<CopresenceManager> Create(CopresenceDelegate* delegate);
36 37
37 private: 38 private:
38 39
39 DISALLOW_COPY_AND_ASSIGN(CopresenceManager); 40 DISALLOW_COPY_AND_ASSIGN(CopresenceManager);
40 }; 41 };
41 42
42 } // namespace copresence 43 } // namespace copresence
43 44
44 #endif // COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_MANAGER_H_ 45 #endif // COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698