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

Side by Side Diff: components/variations/service/variations_service_client.h

Issue 1417503010: Variations seed is pulled from the Java application on the first launch of Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Newline added due to clang build error Created 5 years, 1 month 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 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 #ifndef COMPONENTS_VARIATIONS_SERVICE_VARIATIONS_SERVICE_CLIENT_H_ 5 #ifndef COMPONENTS_VARIATIONS_SERVICE_VARIATIONS_SERVICE_CLIENT_H_
6 #define COMPONENTS_VARIATIONS_SERVICE_VARIATIONS_SERVICE_CLIENT_H_ 6 #define COMPONENTS_VARIATIONS_SERVICE_VARIATIONS_SERVICE_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "base/version.h" 12 #include "base/version.h"
13 #include "components/variations/variations_seed_store.h"
13 #include "components/version_info/version_info.h" 14 #include "components/version_info/version_info.h"
14 15
15 namespace base { 16 namespace base {
16 class SequencedWorkerPool; 17 class SequencedWorkerPool;
17 } 18 }
18 19
19 namespace net { 20 namespace net {
20 class URLRequestContextGetter; 21 class URLRequestContextGetter;
21 } 22 }
22 23
(...skipping 29 matching lines...) Expand all
52 // Gets the channel of the embedder. 53 // Gets the channel of the embedder.
53 virtual version_info::Channel GetChannel() = 0; 54 virtual version_info::Channel GetChannel() = 0;
54 55
55 // Returns whether the embedder overrides the value of the restrict parameter. 56 // Returns whether the embedder overrides the value of the restrict parameter.
56 // |parameter| is an out-param that will contain the value of the restrict 57 // |parameter| is an out-param that will contain the value of the restrict
57 // parameter if true is returned. 58 // parameter if true is returned.
58 virtual bool OverridesRestrictParameter(std::string* parameter) = 0; 59 virtual bool OverridesRestrictParameter(std::string* parameter) = 0;
59 60
60 // Called from VariationsService::PerformPreMainMessageLoopStartup(). 61 // Called from VariationsService::PerformPreMainMessageLoopStartup().
61 virtual void OnInitialStartup() {} 62 virtual void OnInitialStartup() {}
63
64 // Get callback for pulling variations first run seed from Java applicaton
65 // in Chrome for Android.
66 virtual VariationsFirstRunSeedCallback GetVariationsFirstRunSeedCallback();
62 }; 67 };
63 68
64 } // namespace variations 69 } // namespace variations
65 70
66 #endif // COMPONENTS_VARIATIONS_SERVICE_VARIATIONS_SERVICE_CLIENT_H_ 71 #endif // COMPONENTS_VARIATIONS_SERVICE_VARIATIONS_SERVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « components/variations/service/variations_service.cc ('k') | components/variations/service/variations_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698