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

Side by Side Diff: components/history/core/test/fake_web_history_service.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 | « components/history/core/test/BUILD.gn ('k') | components/invalidation.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "components/history/core/test/fake_web_history_service.h" 5 #include "components/history/core/test/fake_web_history_service.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
12 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "components/sync/protocol/history_status.pb.h"
14 #include "net/base/url_util.h" 15 #include "net/base/url_util.h"
15 #include "net/url_request/url_request_context_getter.h" 16 #include "net/url_request/url_request_context_getter.h"
16 #include "sync/protocol/history_status.pb.h"
17 17
18 namespace history { 18 namespace history {
19 19
20 // FakeRequest ----------------------------------------------------------------- 20 // FakeRequest -----------------------------------------------------------------
21 21
22 namespace { 22 namespace {
23 23
24 // TODO(msramek): Find a way to keep these URLs in sync with what is used 24 // TODO(msramek): Find a way to keep these URLs in sync with what is used
25 // in WebHistoryService. 25 // in WebHistoryService.
26 26
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 bool FakeWebHistoryService::AreOtherFormsOfBrowsingHistoryPresent() { 237 bool FakeWebHistoryService::AreOtherFormsOfBrowsingHistoryPresent() {
238 return other_forms_of_browsing_history_present_; 238 return other_forms_of_browsing_history_present_;
239 } 239 }
240 240
241 void FakeWebHistoryService::SetOtherFormsOfBrowsingHistoryPresent( 241 void FakeWebHistoryService::SetOtherFormsOfBrowsingHistoryPresent(
242 bool present) { 242 bool present) {
243 other_forms_of_browsing_history_present_ = present; 243 other_forms_of_browsing_history_present_ = present;
244 } 244 }
245 245
246 } // namespace history 246 } // namespace history
OLDNEW
« no previous file with comments | « components/history/core/test/BUILD.gn ('k') | components/invalidation.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698