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

Side by Side Diff: chrome/browser/android/bookmarks/partner_bookmarks_reader.h

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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_ANDROID_BOOKMARKS_PARTNER_BOOKMARKS_READER_H_ 5 #ifndef CHROME_BROWSER_ANDROID_BOOKMARKS_PARTNER_BOOKMARKS_READER_H_
6 #define CHROME_BROWSER_ANDROID_BOOKMARKS_PARTNER_BOOKMARKS_READER_H_ 6 #define CHROME_BROWSER_ANDROID_BOOKMARKS_PARTNER_BOOKMARKS_READER_H_
7 7
8 #include <stdint.h>
9
8 #include "base/android/jni_weak_ref.h" 10 #include "base/android/jni_weak_ref.h"
11 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
10 #include "components/bookmarks/browser/bookmark_model.h" 13 #include "components/bookmarks/browser/bookmark_model.h"
11 14
12 class PartnerBookmarksShim; 15 class PartnerBookmarksShim;
13 class Profile; 16 class Profile;
14 17
15 // Generates a partner bookmark hierarchy and handles submitting the results to 18 // Generates a partner bookmark hierarchy and handles submitting the results to
16 // the global PartnerBookmarksShim. 19 // the global PartnerBookmarksShim.
17 class PartnerBookmarksReader { 20 class PartnerBookmarksReader {
18 public: 21 public:
(...skipping 19 matching lines...) Expand all
38 41
39 // JNI registration 42 // JNI registration
40 static bool RegisterPartnerBookmarksReader(JNIEnv* env); 43 static bool RegisterPartnerBookmarksReader(JNIEnv* env);
41 44
42 private: 45 private:
43 PartnerBookmarksShim* partner_bookmarks_shim_; 46 PartnerBookmarksShim* partner_bookmarks_shim_;
44 Profile* profile_; 47 Profile* profile_;
45 48
46 // JNI 49 // JNI
47 scoped_ptr<bookmarks::BookmarkNode> wip_partner_bookmarks_root_; 50 scoped_ptr<bookmarks::BookmarkNode> wip_partner_bookmarks_root_;
48 int64 wip_next_available_id_; 51 int64_t wip_next_available_id_;
49 52
50 DISALLOW_COPY_AND_ASSIGN(PartnerBookmarksReader); 53 DISALLOW_COPY_AND_ASSIGN(PartnerBookmarksReader);
51 }; 54 };
52 55
53 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_PARTNER_BOOKMARKS_READER_H_ 56 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_PARTNER_BOOKMARKS_READER_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/bookmarks/bookmarks_bridge.cc ('k') | chrome/browser/android/bookmarks/partner_bookmarks_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698