Home
last modified time | relevance | path

Searched refs:history (Results 1 – 25 of 604) sorted by relevance

12345678910>>...25

/external/chromium_org/chrome/browser/sync/
Dprofile_sync_service_typed_url_unittest.cc68 using history::HistoryBackend;
69 using history::URLID;
70 using history::URLRow;
94 MOCK_METHOD1(GetAllTypedURLs, bool(history::URLRows* entries));
95 MOCK_METHOD3(GetMostRecentVisitsForURL, bool(history::URLID id,
97 history::VisitVector* visits));
98 MOCK_METHOD2(UpdateURL, bool(history::URLID id, const history::URLRow& url));
100 const std::vector<history::VisitInfo>& visits,
101 history::VisitSource visit_source));
102 MOCK_METHOD1(RemoveVisits, bool(const history::VisitVector& visits));
[all …]
/external/chromium_org/chrome/browser/sync/test/integration/
Dtyped_urls_helper.cc26 class FlushHistoryDBQueueTask : public history::HistoryDBTask {
30 virtual bool RunOnDBThread(history::HistoryBackend* backend, in RunOnDBThread()
31 history::HistoryDatabase* db) OVERRIDE { in RunOnDBThread()
44 class GetTypedUrlsTask : public history::HistoryDBTask {
46 GetTypedUrlsTask(history::URLRows* rows, base::WaitableEvent* event) in GetTypedUrlsTask()
49 virtual bool RunOnDBThread(history::HistoryBackend* backend, in RunOnDBThread()
50 history::HistoryDatabase* db) OVERRIDE { in RunOnDBThread()
62 history::URLRows* rows_;
66 class GetUrlTask : public history::HistoryDBTask {
69 history::URLRow* row, in GetUrlTask()
[all …]
Dtyped_urls_helper.h20 history::URLRows GetTypedUrlsFromClient(int index);
24 bool GetUrlFromClient(int index, const GURL& url, history::URLRow* row);
27 history::VisitVector GetVisitsFromClient(int index, history::URLID id);
30 void RemoveVisitsFromClient(int index, const history::VisitVector& visits);
41 history::VisitSource source);
49 history::VisitSource source,
68 bool CheckURLRowVectorsAreEqual(const history::URLRows& left,
69 const history::URLRows& right);
72 bool CheckURLRowsAreEqual(const history::URLRow& left,
73 const history::URLRow& right);
[all …]
Dtwo_client_typed_urls_sync_test.cc37 history::URLRows urls = GetTypedUrlsFromClient(0); in CheckClientsEqual()
38 history::URLRows urls2 = GetTypedUrlsFromClient(1); in CheckClientsEqual()
43 history::VisitVector visit1 = GetVisitsFromClient(0, urls[i].id()); in CheckClientsEqual()
44 history::VisitVector visit2 = GetVisitsFromClient(1, urls2[i].id()); in CheckClientsEqual()
53 history::URLRows urls = GetTypedUrlsFromClient(i); in CheckNoDuplicateVisits()
55 history::VisitVector visits = GetVisitsFromClient(i, urls[j].id()); in CheckNoDuplicateVisits()
64 history::URLRows urls = GetTypedUrlsFromClient(index); in GetVisitCountForFirstURL()
84 history::URLRows urls = GetTypedUrlsFromClient(0); in IN_PROC_BROWSER_TEST_F()
104 history::SOURCE_BROWSED, in IN_PROC_BROWSER_TEST_F()
106 history::URLRows urls = GetTypedUrlsFromClient(0); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/components/
Dhistory.gypi8 # GN version: //components/history/core/browser
27 'history/core/browser/history_client.cc',
28 'history/core/browser/history_client.h',
29 'history/core/browser/history_types.cc',
30 'history/core/browser/history_types.h',
31 'history/core/browser/history_match.cc',
32 'history/core/browser/history_match.h',
33 'history/core/browser/in_memory_database.cc',
34 'history/core/browser/in_memory_database.h',
35 'history/core/browser/keyword_id.h',
[all …]
/external/chromium_org/chrome/browser/sync/glue/
Dtyped_url_model_associator.h28 namespace history {
47 typedef std::vector<std::pair<GURL, std::vector<history::VisitInfo> > >
52 history::HistoryBackend* history_backend,
79 void WriteToHistoryBackend(const history::URLRows* new_urls,
80 const history::URLRows* updated_urls,
82 const history::VisitVector* deleted_visits);
93 history::VisitVector* visits_to_remove,
94 history::URLRows* updated_urls,
95 history::URLRows* new_urls);
124 const history::URLRow& url,
[all …]
Dtyped_url_model_associator_unittest.cc27 static history::URLRow MakeTypedUrlRow(const char* url, in MakeTypedUrlRow()
32 history::VisitVector* visits) { in MakeTypedUrlRow()
34 history::URLRow history_url(gurl); in MakeTypedUrlRow()
40 visits->push_back(history::VisitRow( in MakeTypedUrlRow()
60 static bool URLsEqual(history::URLRow& lhs, history::URLRow& rhs) { in URLsEqual()
91 history::VisitVector visits1; in TEST_F()
92 history::URLRow row1(MakeTypedUrlRow("http://pie.com/", "pie", in TEST_F()
97 history::URLRow new_row1(GURL("http://pie.com/")); in TEST_F()
98 std::vector<history::VisitInfo> new_visits1; in TEST_F()
102 history::VisitVector visits2; in TEST_F()
[all …]
Dtyped_url_model_associator.cc40 static bool CheckVisitOrdering(const history::VisitVector& visits) { in CheckVisitOrdering()
42 for (history::VisitVector::const_iterator visit = visits.begin(); in CheckVisitOrdering()
62 history::HistoryBackend* history_backend, in TypedUrlModelAssociator()
80 history::URLRow* url, in FixupURLAndGetVisits()
81 history::VisitVector* visits) { in FixupURLAndGetVisits()
105 history::VisitRow visit( in FixupURLAndGetVisits()
141 const history::VisitVector& visits) { in ShouldIgnoreVisits()
144 static const int kLastImportedSource = history::SOURCE_EXTENSION; in ShouldIgnoreVisits()
145 history::VisitSourceMap map; in ShouldIgnoreVisits()
150 for (history::VisitVector::const_iterator it = visits.begin(); in ShouldIgnoreVisits()
[all …]
Dtyped_url_change_processor.h30 namespace history {
50 history::HistoryBackend* history_backend,
81 void HandleURLsModified(history::URLsModifiedDetails* details);
82 void HandleURLsDeleted(history::URLsDeletedDetails* details);
83 void HandleURLsVisited(history::URLVisitedDetails* details);
89 bool ShouldSyncVisit(history::URLVisitedDetails* details);
94 bool CreateOrUpdateSyncNode(history::URLRow typed_url,
106 history::HistoryBackend* history_backend_;
115 history::URLRows pending_new_urls_;
116 history::URLRows pending_updated_urls_;
[all …]
/external/chromium_org/chrome/browser/drive/
Devent_logger_unittest.cc21 std::vector<EventLogger::Event> history = logger.GetHistory(); in TEST() local
22 ASSERT_EQ(3U, history.size()); in TEST()
23 EXPECT_EQ(0, history[0].id); in TEST()
24 EXPECT_EQ("first", history[0].what); in TEST()
25 EXPECT_EQ(1, history[1].id); in TEST()
26 EXPECT_EQ("2nd", history[1].what); in TEST()
27 EXPECT_EQ(2, history[2].id); in TEST()
28 EXPECT_EQ("third", history[2].what); in TEST()
32 history = logger.GetHistory(); in TEST()
33 ASSERT_EQ(3U, history.size()); in TEST()
[all …]
/external/chromium_org/chrome/browser/ui/app_list/search/
Dhistory_unittest.cc129 known_results_ = history()->GetKnownResults(query).Pass(); in GetKnownResults()
139 History* history() { return history_.get(); } in history() function in app_list::test::SearchHistoryTest
160 history()->AddLaunchEvent("cal", "calendar"); in TEST_F()
177 history()->AddLaunchEvent(kQuery, kPrimary); in TEST_F()
178 history()->AddLaunchEvent(kQuery, kSecondary); in TEST_F()
196 history()->AddLaunchEvent(kQuery, kPrimary); in TEST_F()
197 history()->AddLaunchEvent(kQuery, kSecondary); in TEST_F()
204 history()->AddLaunchEvent(kQuery, kPrimary); in TEST_F()
205 history()->AddLaunchEvent(kQuery, kSecondary); in TEST_F()
206 history()->AddLaunchEvent(kQuery, kPrimary); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/history/
Dhistory_service.h60 namespace history {
96 explicit HistoryService(history::HistoryClient* client, Profile* profile);
120 void ClearCachedDataForContextID(history::ContextID context_id);
128 history::URLDatabase* InMemoryDatabase();
146 history::TypedUrlSyncableService* GetTypedUrlSyncableService() const;
149 history::InMemoryURLIndex* InMemoryIndex() const { in InMemoryIndex()
181 history::ContextID context_id,
184 const history::RedirectList& redirects,
186 history::VisitSource visit_source,
192 history::VisitSource visit_source);
[all …]
Dhistory_service.cc65 using history::HistoryBackend;
66 using history::KeywordID;
85 const history::QueryURLResult* result) { in RunWithQueryURLResult()
91 const history::VisibleVisitCountToHostResult* result) { in RunWithVisibleVisitCountToHostResult()
99 explicit URLIteratorFromURLRows(const history::URLRows& url_rows) in URLIteratorFromURLRows()
113 history::URLRows::const_iterator itr_;
114 history::URLRows::const_iterator end_;
153 scoped_ptr<history::InMemoryHistoryBackend> backend) OVERRIDE { in SetInMemoryBackend()
171 scoped_ptr<history::HistoryDetails> details) OVERRIDE { in BroadcastNotifications()
174 content::Details<history::HistoryDetails> det(details.get()); in BroadcastNotifications()
[all …]
Dchrome_history_client.h15 namespace history {
21 class ChromeHistoryClient : public history::HistoryClient,
22 public history::TopSitesObserver {
26 history::TopSites* top_sites);
33 std::vector<history::URLAndTitle>* bookmarks) OVERRIDE;
41 virtual void TopSitesLoaded(history::TopSites* top_sites) OVERRIDE;
42 virtual void TopSitesChanged(history::TopSites* top_sites) OVERRIDE;
58 history::TopSites* top_sites_;
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
DNavigationTest.java71 NavigationHistory history = contentViewCore.getWebContents().getNavigationController() in testDirectedNavigationHistory() local
73 assertEquals(3, history.getEntryCount()); in testDirectedNavigationHistory()
74 assertEquals(URL_6, history.getEntryAtIndex(0).getUrl()); in testDirectedNavigationHistory()
75 assertEquals(URL_5, history.getEntryAtIndex(1).getUrl()); in testDirectedNavigationHistory()
76 assertEquals(URL_4, history.getEntryAtIndex(2).getUrl()); in testDirectedNavigationHistory()
78 history = contentViewCore.getWebContents().getNavigationController() in testDirectedNavigationHistory()
80 assertEquals(history.getEntryCount(), 0); in testDirectedNavigationHistory()
86 history = contentViewCore.getWebContents().getNavigationController() in testDirectedNavigationHistory()
88 assertEquals(3, history.getEntryCount()); in testDirectedNavigationHistory()
89 assertEquals(URL_3, history.getEntryAtIndex(0).getUrl()); in testDirectedNavigationHistory()
[all …]
/external/chromium_org/chrome/browser/autocomplete/
Dhistory_url_provider.h27 namespace history {
138 history::HistoryMatches matches;
216 history::HistoryBackend* backend,
217 history::URLDatabase* db);
248 void DoAutocomplete(history::HistoryBackend* backend,
249 history::URLDatabase* db,
267 bool FixupExactSuggestion(history::URLDatabase* db,
274 bool CanFindIntranetURL(history::URLDatabase* db,
286 history::URLDatabase* db,
300 void CullRedirects(history::HistoryBackend* backend,
[all …]
Dhistory_url_provider.cc51 bool CompareHistoryMatch(const history::HistoryMatch& a, in CompareHistoryMatch()
52 const history::HistoryMatch& b) { in CompareHistoryMatch()
81 void SortAndDedupMatches(history::HistoryMatches* matches) { in SortAndDedupMatches()
105 for (history::HistoryMatches::iterator j(matches->begin() + i + 1); in SortAndDedupMatches()
152 const history::HistoryMatch& match, in CalculateRelevanceScoreUsingScoringParams()
180 void RecordAdditionalInfoFromUrlRow(const history::URLRow& info, in RecordAdditionalInfoFromUrlRow()
200 bool CreateOrPromoteMatch(const history::URLRow& info, in CreateOrPromoteMatch()
203 history::HistoryMatches* matches, in CreateOrPromoteMatch()
207 for (history::HistoryMatches::iterator i(matches->begin()); in CreateOrPromoteMatch()
221 history::HistoryMatch match(info, input_location, match_in_scheme, true); in CreateOrPromoteMatch()
[all …]
Dshortcuts_backend.cc81 db_ = new history::ShortcutsDatabase( in ShortcutsBackend()
131 UpdateShortcut(history::ShortcutsDatabase::Shortcut( in AddOrUpdateShortcut()
137 AddShortcut(history::ShortcutsDatabase::Shortcut( in AddOrUpdateShortcut()
145 history::ShortcutsDatabase::Shortcut::MatchCore
159 return history::ShortcutsDatabase::Shortcut::MatchCore( in MatchToMatchCore()
189 const history::URLsDeletedDetails* deleted_details = in Observe()
190 content::Details<const history::URLsDeletedDetails>(details).ptr(); in Observe()
196 const history::URLRows& rows(deleted_details->rows); in Observe()
197 history::ShortcutsDatabase::ShortcutIDs shortcut_ids; in Observe()
201 rows.begin(), rows.end(), history::URLRow::URLRowHasURL( in Observe()
[all …]
/external/gtest/test/
Dgtest-linked_ptr_test.cc44 Message* history = NULL; variable
49 A(): mynum(num++) { *history << "A" << mynum << " ctor\n"; } in A()
50 virtual ~A() { *history << "A" << mynum << " dtor\n"; } in ~A()
51 virtual void Use() { *history << "A" << mynum << " use\n"; } in Use()
59 B() { *history << "B" << mynum << " ctor\n"; } in B()
60 ~B() { *history << "B" << mynum << " dtor\n"; } in ~B()
61 virtual void Use() { *history << "B" << mynum << " use\n"; } in Use()
68 history = new Message; in LinkedPtrTest()
72 delete history; in ~LinkedPtrTest()
73 history = NULL; in ~LinkedPtrTest()
[all …]
/external/chromium_org/testing/gtest/test/
Dgtest-linked_ptr_test.cc44 Message* history = NULL; variable
49 A(): mynum(num++) { *history << "A" << mynum << " ctor\n"; } in A()
50 virtual ~A() { *history << "A" << mynum << " dtor\n"; } in ~A()
51 virtual void Use() { *history << "A" << mynum << " use\n"; } in Use()
59 B() { *history << "B" << mynum << " ctor\n"; } in B()
60 ~B() { *history << "B" << mynum << " dtor\n"; } in ~B()
61 virtual void Use() { *history << "B" << mynum << " use\n"; } in Use()
68 history = new Message; in LinkedPtrTest()
72 delete history; in ~LinkedPtrTest()
73 history = NULL; in ~LinkedPtrTest()
[all …]
/external/protobuf/gtest/test/
Dgtest-linked_ptr_test.cc44 Message* history = NULL; variable
49 A(): mynum(num++) { *history << "A" << mynum << " ctor\n"; } in A()
50 virtual ~A() { *history << "A" << mynum << " dtor\n"; } in ~A()
51 virtual void Use() { *history << "A" << mynum << " use\n"; } in Use()
59 B() { *history << "B" << mynum << " ctor\n"; } in B()
60 ~B() { *history << "B" << mynum << " dtor\n"; } in ~B()
61 virtual void Use() { *history << "B" << mynum << " use\n"; } in Use()
68 history = new Message; in LinkedPtrTest()
72 delete history; in ~LinkedPtrTest()
73 history = NULL; in ~LinkedPtrTest()
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DrevisionHistory.css29 .outline-disclosure.revision-history-drawer {
34 .outline-disclosure.revision-history-drawer ol {
40 .outline-disclosure.revision-history-drawer > ol {
44 .outline-disclosure.revision-history-drawer li {
51 .outline-disclosure.revision-history-drawer li.parent {
55 .revision-history-link {
62 .revision-history-link-row {
66 .outline-disclosure.revision-history-drawer .revision-history-line {
71 .revision-history-drawer .webkit-line-number {
76 .revision-history-drawer li.revision-history-revision {
[all …]
/external/chromium_org/chrome/browser/extensions/api/history/
Dhistory_api.cc38 using api::history::HistoryItem;
39 using api::history::VisitItem;
42 typedef std::vector<linked_ptr<api::history::HistoryItem> >
44 typedef std::vector<linked_ptr<api::history::VisitItem> >
47 namespace AddUrl = api::history::AddUrl;
48 namespace DeleteUrl = api::history::DeleteUrl;
49 namespace DeleteRange = api::history::DeleteRange;
50 namespace GetVisits = api::history::GetVisits;
51 namespace OnVisited = api::history::OnVisited;
52 namespace OnVisitRemoved = api::history::OnVisitRemoved;
[all …]
/external/chromium_org/native_client_sdk/src/build_tools/tests/
Dupdate_nacl_manifest_test.py169 self.history = []
174 self.history.append((host_os, channel, version, timestamp))
205 def __init__(self, manifest, history, files): argument
207 self.history = history
217 return self.history
296 self.history = MakeHistory()
304 self.delegate = TestDelegate(self.manifest, self.history.history,
334 def _AddCsvHistory(self, history): argument
337 history_stream = cStringIO.StringIO(history)
338 self.history.history = [(platform, channel, version, date)
[all …]
/external/chromium_org/chrome/browser/prerender/
Dprerender_history_unittest.cc55 PrerenderHistory history(2); in TEST() local
58 entry_value.reset(history.GetEntriesAsValue()); in TEST()
73 history.AddEntry(entry_first); in TEST()
74 entry_value.reset(history.GetEntriesAsValue()); in TEST()
88 history.AddEntry(entry_second); in TEST()
89 entry_value.reset(history.GetEntriesAsValue()); in TEST()
105 history.AddEntry(entry_third); in TEST()
106 entry_value.reset(history.GetEntriesAsValue()); in TEST()
116 history.Clear(); in TEST()
117 entry_value.reset(history.GetEntriesAsValue()); in TEST()

12345678910>>...25