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

Side by Side Diff: chrome/browser/interests/android/interests_service.h

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_INTERESTS_ANDROID_INTERESTS_SERVICE_H_ 5 #ifndef CHROME_BROWSER_INTERESTS_ANDROID_INTERESTS_SERVICE_H_
6 #define CHROME_BROWSER_INTERESTS_ANDROID_INTERESTS_SERVICE_H_ 6 #define CHROME_BROWSER_INTERESTS_ANDROID_INTERESTS_SERVICE_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/android/scoped_java_ref.h" 10 #include "base/android/scoped_java_ref.h"
11 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
13 #include "chrome/browser/interests/interests_fetcher.h" 14 #include "chrome/browser/interests/interests_fetcher.h"
14 15
15 class Profile; 16 class Profile;
16 17
17 // Provides a list of user interests to Java 18 // Provides a list of user interests to Java
18 class InterestsService { 19 class InterestsService {
19 public: 20 public:
20 explicit InterestsService(Profile* profile); 21 explicit InterestsService(Profile* profile);
(...skipping 12 matching lines...) Expand all
33 scoped_ptr<std::vector<InterestsFetcher::Interest>> interests); 34 scoped_ptr<std::vector<InterestsFetcher::Interest>> interests);
34 35
35 Profile* profile_; 36 Profile* profile_;
36 37
37 base::WeakPtrFactory<InterestsService> weak_ptr_factory_; 38 base::WeakPtrFactory<InterestsService> weak_ptr_factory_;
38 39
39 DISALLOW_COPY_AND_ASSIGN(InterestsService); 40 DISALLOW_COPY_AND_ASSIGN(InterestsService);
40 }; 41 };
41 42
42 #endif // CHROME_BROWSER_INTERESTS_ANDROID_INTERESTS_SERVICE_H_ 43 #endif // CHROME_BROWSER_INTERESTS_ANDROID_INTERESTS_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698