Home
last modified time | relevance | path

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

12345678910>>...32

/external/chromium/chrome/browser/history/
Dhistory_unittest.cc60 namespace history { namespace
67 DISABLE_RUNNABLE_METHOD_REFCOUNT(history::HistoryTest);
69 namespace history { namespace
195 bool QueryURL(HistoryService* history, const GURL& url) { in QueryURL() argument
196 history->QueryURL(url, true, &consumer_, in QueryURL()
220 bool QueryRedirectsFrom(HistoryService* history, const GURL& url) { in QueryRedirectsFrom() argument
221 history->QueryRedirectsFrom(url, &consumer_, in QueryRedirectsFrom()
231 history::RedirectList* redirects) { in OnRedirectQueryComplete()
264 history::RedirectList saved_redirects_;
384 scoped_refptr<HistoryService> history(new HistoryService); in TEST_F() local
[all …]
Dhistory.cc57 using history::HistoryBackend;
83 history::InMemoryHistoryBackend* backend) OVERRIDE { in SetInMemoryBackend()
91 history::HistoryDetails* details) OVERRIDE { in BroadcastNotifications()
94 Details<history::HistoryDetails> det(details); in BroadcastNotifications()
120 const history::StarID HistoryService::kBookmarkBarID = 1;
217 history::URLDatabase* HistoryService::InMemoryDatabase() { in InMemoryDatabase()
227 history::InMemoryURLIndex* HistoryService::InMemoryIndex() { in InMemoryIndex()
266 new history::GetMostRecentKeywordSearchTermsRequest(callback), in GetMostRecentKeywordSearchTerms()
278 history::HistoryDBTaskRequest* request = new history::HistoryDBTaskRequest( in ScheduleDBTask()
291 consumer, new history::QuerySegmentUsageRequest(callback), in QuerySegmentUsageSince()
[all …]
Dhistory.h53 namespace history {
77 virtual bool RunOnDBThread(history::HistoryBackend* backend,
78 history::HistoryDatabase* db) = 0;
105 static const history::StarID kBookmarkBarID;
157 history::URLDatabase* InMemoryDatabase();
160 history::InMemoryURLIndex* InMemoryIndex();
193 const history::RedirectList& redirects,
194 history::VisitSource visit_source,
205 const history::RedirectList& redirects,
206 history::VisitSource visit_source,
[all …]
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_service_typed_url_unittest.cc59 using history::HistoryBackend;
60 using history::URLID;
61 using history::URLRow;
78 MOCK_METHOD1(GetAllTypedURLs, bool(history::URLRows* entries));
79 MOCK_METHOD3(GetMostRecentVisitsForURL, bool(history::URLID id,
81 history::VisitVector* visits));
82 MOCK_METHOD2(UpdateURL, bool(history::URLID id, const history::URLRow& url));
84 const std::vector<history::VisitInfo>& visits,
85 history::VisitSource visit_source));
86 MOCK_METHOD1(RemoveVisits, bool(const history::VisitVector& visits));
[all …]
/external/chromium_org/chrome/browser/sync/test/integration/
Dtyped_urls_helper.cc25 class FlushHistoryDBQueueTask : public history::HistoryDBTask {
29 virtual bool RunOnDBThread(history::HistoryBackend* backend, in RunOnDBThread()
30 history::HistoryDatabase* db) OVERRIDE { in RunOnDBThread()
43 class GetTypedUrlsTask : public history::HistoryDBTask {
45 GetTypedUrlsTask(history::URLRows* rows, base::WaitableEvent* event) in GetTypedUrlsTask()
48 virtual bool RunOnDBThread(history::HistoryBackend* backend, in RunOnDBThread()
49 history::HistoryDatabase* db) OVERRIDE { in RunOnDBThread()
61 history::URLRows* rows_;
65 class GetUrlTask : public history::HistoryDBTask {
68 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,
64 void AssertURLRowVectorsAreEqual(const history::URLRows& left,
65 const history::URLRows& right);
68 void AssertURLRowsAreEqual(const history::URLRow& left,
69 const history::URLRow& right);
[all …]
Dtwo_client_typed_urls_sync_test.cc34 history::URLRows urls = GetTypedUrlsFromClient(0); in CheckClientsEqual()
35 history::URLRows urls2 = GetTypedUrlsFromClient(1); in CheckClientsEqual()
39 history::VisitVector visit1 = GetVisitsFromClient(0, urls[i].id()); in CheckClientsEqual()
40 history::VisitVector visit2 = GetVisitsFromClient(1, urls2[i].id()); in CheckClientsEqual()
49 history::URLRows urls = GetTypedUrlsFromClient(i); in CheckNoDuplicateVisits()
51 history::VisitVector visits = GetVisitsFromClient(i, urls[j].id()); in CheckNoDuplicateVisits()
60 history::URLRows urls = GetTypedUrlsFromClient(index); in GetVisitCountForFirstURL()
80 history::URLRows urls = GetTypedUrlsFromClient(0); in IN_PROC_BROWSER_TEST_F()
103 history::SOURCE_BROWSED, in IN_PROC_BROWSER_TEST_F()
105 history::URLRows urls = GetTypedUrlsFromClient(0); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/browser/sync/glue/
Dtyped_url_model_associator.h28 namespace history {
49 typedef std::vector<std::pair<history::URLID, history::URLRow> >
51 typedef std::vector<std::pair<GURL, std::vector<history::VisitInfo> > >
56 history::HistoryBackend* history_backend,
83 void WriteToHistoryBackend(const history::URLRows* new_urls,
86 const history::VisitVector* deleted_visits);
97 history::VisitVector* visits_to_remove,
99 history::URLRows* new_urls);
128 const history::URLRow& url,
129 history::VisitVector* visits,
[all …]
Dtyped_url_model_associator_unittest.cc26 static history::URLRow MakeTypedUrlRow(const char* url, in MakeTypedUrlRow()
31 history::VisitVector* visits) { in MakeTypedUrlRow()
33 history::URLRow history_url(gurl); in MakeTypedUrlRow()
39 visits->push_back(history::VisitRow( in MakeTypedUrlRow()
59 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.cc41 static bool CheckVisitOrdering(const history::VisitVector& visits) { in CheckVisitOrdering()
43 for (history::VisitVector::const_iterator visit = visits.begin(); in CheckVisitOrdering()
63 history::HistoryBackend* history_backend, in TypedUrlModelAssociator()
81 history::URLRow* url, in FixupURLAndGetVisits()
82 history::VisitVector* visits) { in FixupURLAndGetVisits()
98 history::VisitRow visit( in FixupURLAndGetVisits()
134 const history::VisitVector& visits) { in ShouldIgnoreVisits()
137 static const int kLastImportedSource = history::SOURCE_EXTENSION; in ShouldIgnoreVisits()
138 history::VisitSourceMap map; in ShouldIgnoreVisits()
143 for (history::VisitVector::const_iterator it = visits.begin(); in ShouldIgnoreVisits()
[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/chrome/browser/sync/
Dprofile_sync_service_typed_url_unittest.cc47 using history::HistoryBackend;
48 using history::URLID;
49 using history::URLRow;
78 MOCK_METHOD1(GetAllTypedURLs, bool(std::vector<history::URLRow>* entries));
79 MOCK_METHOD2(GetVisitsForURL, bool(history::URLID id,
80 history::VisitVector* visits));
81 MOCK_METHOD2(UpdateURL, bool(history::URLID id, const history::URLRow& url));
84 history::VisitSource visit_source));
85 MOCK_METHOD1(RemoveVisits, bool(const history::VisitVector& visits));
86 MOCK_METHOD2(GetURL, bool(const GURL& url_id, history::URLRow* url_row));
[all …]
/external/chromium/chrome/browser/sync/glue/
Dtyped_url_model_associator_unittest.cc18 static history::URLRow MakeTypedUrlRow(const char* url, in MakeTypedUrlRow()
23 history::VisitVector* visits) { in MakeTypedUrlRow()
25 history::URLRow history_url(gurl); in MakeTypedUrlRow()
31 visits->push_back(history::VisitRow( in MakeTypedUrlRow()
51 static bool URLsEqual(history::URLRow& lhs, history::URLRow& rhs) { in URLsEqual()
61 history::VisitVector visits1; in TEST_F()
62 history::URLRow row1(MakeTypedUrlRow("http://pie.com/", "pie", in TEST_F()
67 history::URLRow new_row1(GURL("http://pie.com/")); in TEST_F()
73 history::VisitVector visits2; in TEST_F()
74 history::URLRow row2(MakeTypedUrlRow("http://pie.com/", "pie", in TEST_F()
[all …]
Dtyped_url_model_associator.h24 namespace history {
50 typedef std::vector<history::URLRow> TypedUrlVector;
51 typedef std::vector<std::pair<history::URLID, history::URLRow> >
58 history::HistoryBackend* history_backend);
105 const history::VisitVector* deleted_visits);
116 const history::URLRow& url,
117 history::VisitVector* visits,
118 history::URLRow* new_url,
120 static void WriteToSyncNode(const history::URLRow& url,
121 const history::VisitVector& visits,
[all …]
/external/chromium/chrome/browser/autocomplete/
Dhistory_url_provider.h18 namespace history {
165 void ExecuteWithDB(history::HistoryBackend* backend,
166 history::URLDatabase* db,
171 void DoAutocomplete(history::HistoryBackend* backend,
172 history::URLDatabase* db,
184 static history::Prefixes GetPrefixes();
197 static GURL ConvertToHostOnly(const history::HistoryMatch& match,
208 history::URLDatabase* db,
212 history::HistoryMatches* matches);
221 static void EnsureMatchPresent(const history::URLRow& info,
[all …]
/external/chromium_org/chrome/browser/ui/app_list/search/
Dhistory_unittest.cc144 known_results_ = history()->GetKnownResults(query).Pass(); in GetKnownResults()
154 History* history() { return history_.get(); } in history() function in app_list::test::SearchHistoryTest
175 history()->AddLaunchEvent("cal", "calendar"); in TEST_F()
192 history()->AddLaunchEvent(kQuery, kPrimary); in TEST_F()
193 history()->AddLaunchEvent(kQuery, kSecondary); in TEST_F()
211 history()->AddLaunchEvent(kQuery, kPrimary); in TEST_F()
212 history()->AddLaunchEvent(kQuery, kSecondary); in TEST_F()
219 history()->AddLaunchEvent(kQuery, kPrimary); in TEST_F()
220 history()->AddLaunchEvent(kQuery, kSecondary); in TEST_F()
221 history()->AddLaunchEvent(kQuery, kPrimary); in TEST_F()
[all …]
/external/chromium_org/remoting/webapp/
Dconnection_history.css6 #connection-history-dialog {
12 #connection-history-options {
17 #connection-history-scroller {
24 #connection-history-table {
32 #connection-history-table td:last-child {
36 #connection-history-table thead td {
40 #close-connection-history {
61 .connection-history-summary td {
65 .connection-history-summary:hover,
66 .connection-history-summary.expanded,
[all …]
/external/chromium_org/chrome/browser/autocomplete/
Dhistory_url_provider.h26 namespace history {
184 void ExecuteWithDB(history::HistoryBackend* backend,
185 history::URLDatabase* db,
190 void DoAutocomplete(history::HistoryBackend* backend,
191 history::URLDatabase* db,
229 bool FixupExactSuggestion(history::URLDatabase* db,
233 history::HistoryMatches* matches) const;
238 bool CanFindIntranetURL(history::URLDatabase* db,
244 bool PromoteMatchForInlineAutocomplete(const history::HistoryMatch& match,
254 history::URLDatabase* db,
[all …]
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/
Dhistory.js30 var history = history || {}; variable
34 history.DEFAULT_CROSS_DASHBOARD_STATE_VALUES = {
41 history.validateParameter = function(state, key, value, validateFn)
52 history.isTreeMap = function()
58 history.queryHashAsMap = function()
102 history._diffStates = function(oldState, newState)
119 history._fillMissingValues = function(to, from)
127 history.History = function(configuration)
141 history.reloadRequiringParameters = ['showAllRuns', 'group', 'testType'];
147 history.History.prototype = {
[all …]
Dhistory_unittests.js33 deepEqual(history.queryHashAsMap(), {useTestData: 'true', "group": "@ToT Blink"});
38 deepEqual(history._diffStates(null, newState), newState);
41 deepEqual(history._diffStates(oldState, newState), {b: 2});
45 deepEqual(history._diffStates(oldState, newState), {a:1, b: 2});
48 deepEqual(history._diffStates(oldState, newState), {});
51 deepEqual(history._diffStates(oldState, newState), {a: 1, b: 2});
55 var historyInstance = new history.History();
62 for (var key in history.DEFAULT_CROSS_DASHBOARD_STATE_VALUES)
63 expectedParameters[key] = history.DEFAULT_CROSS_DASHBOARD_STATE_VALUES[key];
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
DNavigationTest.java69 NavigationHistory history = contentViewCore in testDirectedNavigationHistory() local
71 assertEquals(3, history.getEntryCount()); in testDirectedNavigationHistory()
72 assertEquals(URL_6, history.getEntryAtIndex(0).getUrl()); in testDirectedNavigationHistory()
73 assertEquals(URL_5, history.getEntryAtIndex(1).getUrl()); in testDirectedNavigationHistory()
74 assertEquals(URL_4, history.getEntryAtIndex(2).getUrl()); in testDirectedNavigationHistory()
76 history = contentView.getContentViewCore() in testDirectedNavigationHistory()
78 assertEquals(history.getEntryCount(), 0); in testDirectedNavigationHistory()
84 history = contentViewCore.getDirectedNavigationHistory(false, 4); in testDirectedNavigationHistory()
85 assertEquals(3, history.getEntryCount()); in testDirectedNavigationHistory()
86 assertEquals(URL_3, history.getEntryAtIndex(0).getUrl()); in testDirectedNavigationHistory()
[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/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/chromium/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/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 …]

12345678910>>...32