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

Side by Side Diff: components/sessions/core/session_backend.cc

Issue 2293583002: Change includes of histogram.h to histogram_macros.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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/sessions/core/session_backend.h" 5 #include "components/sessions/core/session_backend.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 #include <limits> 8 #include <limits>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/files/file.h" 11 #include "base/files/file.h"
12 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/scoped_vector.h" 14 #include "base/memory/scoped_vector.h"
15 #include "base/metrics/histogram.h" 15 #include "base/metrics/histogram_macros.h"
16 #include "base/threading/thread_restrictions.h" 16 #include "base/threading/thread_restrictions.h"
17 #include "build/build_config.h" 17 #include "build/build_config.h"
18 18
19 using base::TimeTicks; 19 using base::TimeTicks;
20 20
21 namespace sessions { 21 namespace sessions {
22 22
23 // File version number. 23 // File version number.
24 static const int32_t kFileCurrentVersion = 1; 24 static const int32_t kFileCurrentVersion = 1;
25 25
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 base::FilePath SessionBackend::GetCurrentSessionPath() { 402 base::FilePath SessionBackend::GetCurrentSessionPath() {
403 base::FilePath path = path_to_dir_; 403 base::FilePath path = path_to_dir_;
404 if (type_ == sessions::BaseSessionService::TAB_RESTORE) 404 if (type_ == sessions::BaseSessionService::TAB_RESTORE)
405 path = path.AppendASCII(kCurrentTabSessionFileName); 405 path = path.AppendASCII(kCurrentTabSessionFileName);
406 else 406 else
407 path = path.AppendASCII(kCurrentSessionFileName); 407 path = path.AppendASCII(kCurrentSessionFileName);
408 return path; 408 return path;
409 } 409 }
410 410
411 } // namespace sessions 411 } // namespace sessions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698