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

Side by Side Diff: chrome/browser/android/offline_pages/offline_page_model_factory.cc

Issue 2041233007: Fix typos on offline pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo in test files Created 4 years, 6 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 | « no previous file | chrome/browser/android/offline_pages/offline_page_utils_unittest.cc » ('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 "chrome/browser/android/offline_pages/offline_page_model_factory.h" 5 #include "chrome/browser/android/offline_pages/offline_page_model_factory.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 scoped_refptr<base::SequencedTaskRunner> background_task_runner = 43 scoped_refptr<base::SequencedTaskRunner> background_task_runner =
44 content::BrowserThread::GetBlockingPool()->GetSequencedTaskRunner( 44 content::BrowserThread::GetBlockingPool()->GetSequencedTaskRunner(
45 content::BrowserThread::GetBlockingPool()->GetSequenceToken()); 45 content::BrowserThread::GetBlockingPool()->GetSequenceToken());
46 46
47 base::FilePath store_path = 47 base::FilePath store_path =
48 profile->GetPath().Append(chrome::kOfflinePageMetadataDirname); 48 profile->GetPath().Append(chrome::kOfflinePageMetadataDirname);
49 std::unique_ptr<OfflinePageMetadataStore> metadata_store( 49 std::unique_ptr<OfflinePageMetadataStore> metadata_store(
50 new OfflinePageMetadataStoreSQL(background_task_runner, store_path)); 50 new OfflinePageMetadataStoreSQL(background_task_runner, store_path));
51 51
52 base::FilePath archives_dir = 52 base::FilePath archives_dir =
53 profile->GetPath().Append(chrome::kOfflinePageArchviesDirname); 53 profile->GetPath().Append(chrome::kOfflinePageArchivesDirname);
54 54
55 return new OfflinePageModelImpl(std::move(metadata_store), archives_dir, 55 return new OfflinePageModelImpl(std::move(metadata_store), archives_dir,
56 background_task_runner); 56 background_task_runner);
57 } 57 }
58 58
59 } // namespace offline_pages 59 } // namespace offline_pages
60
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/android/offline_pages/offline_page_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698