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

Side by Side Diff: chrome/browser/renderer_host/pepper/device_id_fetcher.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 CHROME_BROWSER_RENDERER_HOST_PEPPER_DEVICE_ID_FETCHER_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_PEPPER_DEVICE_ID_FETCHER_H_
6 #define CHROME_BROWSER_RENDERER_HOST_PEPPER_DEVICE_ID_FETCHER_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_PEPPER_DEVICE_ID_FETCHER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
17 #include "ppapi/c/pp_instance.h" 17 #include "ppapi/c/pp_instance.h"
18 18
19 class Profile;
20
21 namespace content {
22 class BrowserPpapiHost;
23 }
24
25 namespace user_prefs { 19 namespace user_prefs {
26 class PrefRegistrySyncable; 20 class PrefRegistrySyncable;
27 } 21 }
28 22
29 namespace chrome { 23 namespace chrome {
30 24
31 // This class allows asynchronously fetching a unique device ID. The callback 25 // This class allows asynchronously fetching a unique device ID. The callback
32 // passed in when calling Start() will be called when the ID has been fetched 26 // passed in when calling Start() will be called when the ID has been fetched
33 // or on error. 27 // or on error.
34 class DeviceIDFetcher : public base::RefCountedThreadSafe<DeviceIDFetcher> { 28 class DeviceIDFetcher : public base::RefCountedThreadSafe<DeviceIDFetcher> {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 bool in_progress_; 70 bool in_progress_;
77 71
78 int render_process_id_; 72 int render_process_id_;
79 73
80 DISALLOW_COPY_AND_ASSIGN(DeviceIDFetcher); 74 DISALLOW_COPY_AND_ASSIGN(DeviceIDFetcher);
81 }; 75 };
82 76
83 } // namespace chrome 77 } // namespace chrome
84 78
85 #endif // CHROME_BROWSER_RENDERER_HOST_PEPPER_DEVICE_ID_FETCHER_H_ 79 #endif // CHROME_BROWSER_RENDERER_HOST_PEPPER_DEVICE_ID_FETCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698